KyleAMathews / coffee-react-quickstart

Quickstart for building React single page apps using Coffeescript, Gulp, Webpack, and React-Router
http://kyleamathews.github.io/coffee-react-quickstart
MIT License
254 stars 41 forks source link

Webpack's reload is broken. #21

Closed arjunblj closed 9 years ago

arjunblj commented 9 years ago

Just tried installing it locally/fresh and it seems like reloading on changes to .cjsx files is broken. I've had to re-run npm start to see changes.

KyleAMathews commented 9 years ago

Hrmm... will look into this. Thanks.

KyleAMathews commented 9 years ago

Seems fixed with https://github.com/KyleAMathews/coffee-react-quickstart/commit/f67ab290ec897f905d19499c6ea7d0b3772bac29

I also changed the script name from start to watch as start is normally used for running production processes. So run npm run watch to start the watch process.

benrosenblum commented 9 years ago

Just a note, I had to downgrade the webpack version to 1.4.13 to get reloading to work after updating to 76c643. Had webpack 1.9.0 installed. With the newer webpack, it only reloads once, and then it would not reload again until the dev server is restarted. Older version works fine.