Thursday 25 October 2018

npm start-script not wirking

Hey, i just created a third start script for my node application. While I can start my application with "npm start" or "npm test" my third start script "npm docker" is not working.If I start the app with "NODE_ENV=docker nodemon server.js" in console, it is working as expected.Did I miss sth?`"scripts": {"test": "NODE_ENV=test nodemon server.js", "start": "nodemon server.js", "docker": "NODE_ENV=docker nodemon server.js" }, `

Submitted October 25, 2018 at 10:42AM by Sp1xx

No comments:

Post a Comment