Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm script run first script in the background

# Run npm script in the background. 
# Use: (command &). 
# Example:

"scripts": {
  "start": "(node backgroundapp.js &) && anotherscript"
}
 
PREVIOUS NEXT
Tagged: #npm #script #run #script #background
ADD COMMENT
Topic
Name
8+2 =