EQuimper / nodejs-api-boilerplate

A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

script: `${crossEnv('NODE_ENV=development')} nodemon dist/index.bundle.js`,

theer1k opened this issue · comments

commented

When i try to run npm run dev, nps calls dev script passing NODE_ENV=development but after this code runs i've added some console.log(process.env.NODE_ENV) and that NODE_ENV becomes 'production'.. how to fix it? Thanks by the way, awesome boilerplate <3