This is a small starter project with gives you multiple things:
- A Node JS Server with Express and Socket IO
- The Server.js file is using Babel for ES6 compatibility
- Using Nodemon we are watching all files that are in the 'server' folder and restart it
- A client.js file that uses webpack-hot-middleware for automatic reload
- Babel for ES6 compatibility
git clone https://github.com/crivera/HotReloadNodeServerAndClientES6.git <project>
cd <project>
npm install
npm start
- provide npm build for building production version
- other stuff
MIT