mipearson / webpack-rails

Integrate webpack with your Ruby on Rails application
MIT License
543 stars 82 forks source link

Is this supposed to repack when I reload my page? #68

Closed QuantumKing closed 7 years ago

QuantumKing commented 7 years ago

Because it isn't detecting any of my changes. I followed your example with the slight modification of

./node_modules/.bin/webpack-dev-server --config ./config/webpack.config.js --host '0.0.0.0'

because I'm running things through docker compose.

QuantumKing commented 7 years ago

Seems like there's problems with listening for file change events from within a docker container

https://github.com/webpack/webpack-dev-server/issues/143

I ended up just adding

watchOptions: {
  poll: true
}
QuantumKing commented 7 years ago

I'll close this as it's unrelated to the project.