how-to-api
how-to-api copied to clipboard
package.json dev script only works on *nix systems
Users who are running on a windows system with CMD as the shell will not have the environmental variables set correctly.
possible solutions is to supply a script for windows such as "windev": "set API_PORT=4557 & set API_MAX=77 & nodemon server.js"
or include https://www.npmjs.com/package/cross-env
This also does not address if someone is using powershell as the shell for NPM/Node.