On first run:
npm install
npm install -g webpack
npm install -g nodemonIf the install of webpack and nodemon fails:
sudo npm install -g webpack
sudo npm install -g nodemonStart and --watch with webpack:
npm run buildStart node server with nodemon:
npm startYou can alter these processes in your package.json file. The following is the current setup:
...
"scripts" : {
"start" : "nodemon app.js",
"build" : "webpack --progress --colors --watch"
},
...git push heroku master