-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hot module reload #240
hot module reload #240
Conversation
@@ -69,6 +70,8 @@ | |||
"redux-mock-store": "0.0.6", | |||
"salinity": "0.0.8", | |||
"style-loader": "0.13.0", | |||
"webpack": "1.12.12" | |||
"webpack": "1.12.12", | |||
"webpack-dev-server": "^1.14.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please lock down these dependencies - we don't use ^
. (You can do npm install --save-exact
in future to avoid having to remember to change in the package.json.)
As mentioned above, please lock down the dependencies in the package.json and add an explanation of that weird warning (about the checked in key file) in the README. Otherwise LGTM, go ahead and merge @krystophv |
…-fix hot reload doAppInit fix
…/chrome-uploader into krystophv/hot-module-reload * 'krystophv/hot-module-reload' of github.com:tidepool-org/chrome-uploader: Add information about the key file warning chrome throws on the unpacked extension
@jebeck - Could I get a quick opinion about the summary of the warning Chrome throws on the unpacked extension? Is it clear enough? |
Explanation of the warning looks good @krystophv, but want to take another look at point 10 on the README? Probably should change to explain hot-reloading. I'd put something like "React components and CSS will hot load after changes, but changes to device drivers and other code outside of the React components will not - use 'Reload' from chrome://extensions to reload after such changes." |
Yeah, webpack won't die on bundle errors. There should be a way to get it to not issue the hot-update either (and thus potentially not need the App refresh - see gaearon/react-hot-boilerplate#1 ) but I couldn't get that implementation working properly, likely due to the write to disk plugin. |
Enable hot module reloading for JS/CSS in the uploader.