https://github.com/davidedaniel/hmr-express
Teaching tool for Hack University students to live code, learn d3, es6 and debugging with chrome dev tools
https://github.com/davidedaniel/hmr-express
Last synced: about 2 months ago
JSON representation
Teaching tool for Hack University students to live code, learn d3, es6 and debugging with chrome dev tools
- Host: GitHub
- URL: https://github.com/davidedaniel/hmr-express
- Owner: DavideDaniel
- Created: 2016-03-21T06:40:08.000Z (about 9 years ago)
- Default Branch: gh
- Last Pushed: 2016-08-11T02:10:39.000Z (almost 9 years ago)
- Last Synced: 2025-02-07T14:18:36.359Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 3
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Webpack HMR Express server
---
Used as a teaching tool for Hack University students to live code, debug with chrome tools and learn D3#### Install & run server
```bash
git clone https://github.com/DavideDaniel/HMR-Express.git
cd HMR-Express
npm install
npm start
```#### Use
1. Navigate to http://localhost:3000
2. Edit your javascript code in `src/main.js` or any css code in `src/assets/`.
3. Everytime you save your files, the browser should reflect the changes.
4. If you have errors or trouble, slack me.NOTE: Ignore the snippet of code at the bottom of `main.js`. It handles hot reloading and removal of extra d3 appended elements.