FullstackAcademy / boilermaker

Code scaffold for projects
https://www.youtube.com/watch?v=7bLSuTHH4Ag&list=PLx0iOsdUOUmn7D5XL4mRUftn8hvAJGs8H
MIT License
215 stars 706 forks source link

webpack-dev-server added #83

Closed brainomite closed 5 years ago

brainomite commented 6 years ago

Assignee Tasks

I wanted to re-implement browser auto-refreshing. While adding some additional features.

  1. Overlay options, I've enabled the build error overlay, but there is also a warning that can be enabled, I left it at the default.
  2. Added refreshing with the static content being watched. specifically the public folder. HMR can be enabled by adding a --hot to the CLI command References: https://itnext.io/auto-reload-a-full-stack-javascript-project-using-nodemon-and-webpack-dev-server-together-a636b271c4e https://webpack.js.org/configuration/dev-server/
glebec commented 6 years ago

@brainomite the Travis result states that package.json and package-lock.json are out of sync. You'll need to run npm i to make the lockfile update, as you added a package to package.json without npm install-ing it.

brainomite commented 6 years ago

@glebec Sorry about that, I saw the issue with merge conflicts and package-lock.json, so I chose not to check in that file. I've now done so and travis passes. Also note, I do believe I figured out how to get socket.io to work. But I didn't build any components to validate.