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
Post a Comment