markdalgleish / static-site-generator-webpack-plugin

Minimal, unopinionated static site generator powered by webpack
MIT License
1.61k stars 97 forks source link

Running "webpack-dev-server" with the "--inline" option causes a "document not defined" error #47

Open stevenpetryk opened 8 years ago

stevenpetryk commented 8 years ago

Repo that reproduces the issue. See the README there for more deets.

Typically, when using webpack-dev-server, the --inline option is preferred for development since it will do fast page reloads, and is required if you want to do hot module reloading. It would be extremely helpful if this plugin could accommodate webpack-dev-server's reliance on document to serve the site.

If instead this issue should be opened on webpack-dev-server, just let me know. I'm not exactly sure what the best course of action is. If it's any help, webpack-dev-server refers to document here.

MarkHerhold commented 7 years ago

Seems related to #18, which recommends using BrowserSync