express - Can i run more than one js script at Node.js startup -


i run additional script before main 'node app' called. so, have changed package.json follows:

 "name": "application-name",   "version": "0.0.1",   "private": true,   "scripts": {     "start": ["node helloworld", "node app"]   }, ... 

then command line run:

npm start 

this doesn't work. there way call 1 script before @ node.js startup? thank you

don't use array processes. separate them semicolon instead this.

 "name": "application-name",   "version": "0.0.1",   "private": true,   "scripts": {     "start": "node helloworld; node app"   }, ... 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -