-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
process.on("uncaughtException", exception => {
process.exit(appProc.pid); // switched kill to exit, else invalid pid error
throw new Error(exception);
});
script should be something like this for webpack dev server
//start cmd defined then passed as arg[0]
"start": "webpack-dev-server --mode development --hot --progress --color --port 3000 --open",
"startWithCypress": "cross-env WAIT_FOR_MESSAGE=\"Compiled\" cypressAppWatcher start"
then I changed the spawn command:
appProc = spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', ['run', myArgs[0]]);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels