keirstaple / HMR-Express

Teaching tool for Hack University students to live code, learn d3, es6 and debugging with chrome dev tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

About

Teaching tool for Hack University students to live code, learn d3, es6 and debugging with chrome dev tools


Languages

Language:JavaScript 85.4%Language:HTML 7.7%Language:CSS 6.9%