I\'d like to get my package.json to be able to run using the command npm run test-watch on Windows 10 with npm 5.5.1. In my package.json:
\"scripts\": {
Unfortunately, the operating system and shell can cause a massive headache when using npm. Some things work on one computer and some on another.
Both of these should work on Windows 10 though:
"test-watch": "nodemon --exec \"npm test\"" "test-watch": "nodemon --exec npm test"