Closed Barryrowe closed 7 years ago
Thanks for this - very helpful. I made a few changes - I wanted the file to stay called example.html
so I updated the express config to use that file as the index. I also made it so the page gets opened automatically in the user's browser.
This adds a configuration for using webpack dev server to make development easier. This changes npm run dev to run webpack-dev-server which still watches the source for changes, but now automatically refreshes the served example page on source changes.
Fixes #6