- clone
- run
npm install
to install all dependencies
- run
webpack
to compile js - run
node server.js
to start server
- run
webpack --watch
in one terminal - run
nodemon
in another terminal (install withnpm install -g nodemon
)
it will now automatically recompile javascript and restart server on file changes