Not choosing task
See original GitHub issueI have the following scripts setup:
"scripts": {
"start": "per-env",
"start:development": "npm run build:development",
"start:production": "npm run build:production",
"clean-styles": "rimraf web/css && mkdirp web/css",
"build": "per-env",
"build:development": "npm run styles:development",
"build:production": "npm run styles:production",
"prestyles": "per-env",
"prestyles:development": "npm run clean-styles",
"prestyles:production": "npm run clean-styles",
"styles": "per-env",
"styles:development": "node-sass src/sass/main.scss | postcss -u autoprefixer > web/css/style.css",
"styles:production": "node-sass src/sass/main.scss | postcss -u autoprefixer | cleancss > web/css/style.css"
}
When I run npm start
I just get the output showing per-env
is running and then it finishes before going to the next task.
I’ve tried using the example setup from the readme but I’m getting the same issue. I’m running this on Windows 10, I haven’t tried on a Mac yet.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
How NOT to Decide What to Do Next - The Productivity Pro
1. Don't decide what to do next by what you FEEL like doing. · 2. Don't decide what to do next by the...
Read more >Can a player pick no task ? | BoardGameGeek
No, when it's your turn to pick a task, you must take one. It's clearer in the new rules. The Crew Rules wrote:....
Read more >How to Choose Your Most Important Task - LinkedIn
If you have many tasks that are all equally important and urgent, which one will you work on first? Will you choose randomly?...
Read more >The Art of Choosing Important Tasks - Zen Habits
Picking out an important task means you have thought through your priorities, and you know what makes the biggest difference in your work...
Read more >How to Ruthlessly Prioritize Tasks to Get More Done - Zapier
The best way I've found to make sure you complete your tasks is through ruthless prioritization. That means deciding not to do things...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have experienced the same on windows, and the “FIX on windows” - https://github.com/ericclemmons/per-env/pull/10 seems to work! An update to the module would be cool…
@ericclemmons hi it seems no one does that so I just created a pull request for it using
cross-spawn
. I test on window, no extensively though, but the change is simple.