Auto-Launch not working when run from npm
See original GitHub issueI just updated to Node 5.0.0 with NPM 3.3.6. I’m running on OSX 10.10.5 (Yosemite)
I have a “test” script defined in my project.json:
"scripts": {
"test": "testem",
"test-ci": "testem ci --port 17357"
}
So when I run npm test, it starts testem.
The problem is that my launch_in_dev browser (Chrome) is not auto-run. Even if I call it out explicitly: "test": "testem -l Chrome", the browser does not auto-launch. Testem DOES start, but the browser does not. I can run it by hand, and that works. It’s just odd.
Running the tests by hand: ./node_modules/.bin/testem DOES work… it just seems like this use case is being blocked. And, this used to work (node 0.12 + NPM 2).
Does anyone know a workaround? I try to avoid installing testem globally and prefer to do everything via npm run commands.
Issue Analytics
- State:
- Created 8 years ago
- Comments:23 (15 by maintainers)
Top Results From Across the Web
auto-launch - npm
Start using auto-launch in your project by running `npm i auto-launch`. There are 45 other projects in the npm registry using auto-launch.
Read more >How to use auto-launch to start app on system startup?
But, I want to run it on windows startup. I got to know about auto-launch. But, I'm not sure how to use it...
Read more >cozy-auto-launch - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix ...
Read more >Autostarting NodeJS Apps — Devilbox 1.0 documentation
Once the Devilbox is running, you can enter the PHP container and verify ... The following script is provided in autostart/run-node-js-projects.sh-example ...
Read more >How to auto-start electron applications on startup
To solve this problem I tried various methods and none of them ... npm install auto-launch ... var AutoLaunch = require('auto-launch');.
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 Free
Top 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

I figured out a way to get a similar workflow to
ember-cli#980This should be resolve in the latest master.