Open missKatiaPunter opened 6 years ago
"start": "node ./src/server.js",
"start:watch": "nodemon ./src/server.js",
The snippet above shows how to write start script in pakcage.json, in case you didn't know. Also start script should be there by default but... somehow it does not always work.
Thanks for the comment. There is the following bit in the package.json. Re: nodemon, please see #23.
"description": "", "main": "./src/server.js", "scripts": { "test": "node ./src/test.js", "lint": "./node_modules/.bin/eslint" },
I suggested you also added "start" to scripts as outlined above. And, perhaps, start:watch.
I had to look it up how to run the server when there is no run script in package.json! Please include one (at the start of your project, ideally).