Closed vegetabill closed 3 years ago
I have seen this used before but there might be other ways too: https://github.com/kentcdodds/cross-env
For a workaround on windows, you can just remove the NODE_ENV=production
in package json command:
Please don't commit this if possible.
Hey @vegetabill could I work on this?
@alodahl done
Currently
npm start
runsNODE_ENV=development nodemon
but that only works on unix/mac.Please look into a cross-platform way to specify env variables, if one exists or a way to vary the script based on platform.