Commit Graph

9 Commits

Author SHA1 Message Date
Ivan Shornikov b113a22599 Make HMR request timeout configurable 2017-05-22 02:59:45 +03:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Sean Larkin aa8d01bf8d refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636)
* refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot

* This change allows for buildin to now be part of the lint test by addition of an extra .eslintrc file which extends existing but sets es6 to false
* Turned on no-unused-vars for eslint, and then removed all warnings from turning that feature on
* Was getting notified of errors in "quote" property in eslintrc, so changed to correct value from error to 2.

* beautify

* swap invalid eslint config val
2016-12-30 09:43:49 -06:00
Tobias Koppers 54aa3cd0d6 Merge pull request #2988 from matthewtoast/master
fix: Convert webworker template runtime to be Promise-based API
2016-09-15 00:27:52 +02:00
Tobias Koppers afd11259b2 stricter linting and bug fixes 2016-09-15 00:22:10 +02:00
Matthew Trost 2e8f08f6ac Convert webworker template runtime to Promise-based API
Fixes 'cannot call method then on undefined' error when using HMR with a config
whose target is "webworker".

Probably should have happened with 2245c4acca
2016-09-12 18:40:23 -04:00
Tobias Koppers 1675a5a5ca new way to handle new ids, reuse old ids
adjusted HMR to handle id reusing
2016-07-18 00:41:26 +02:00
Rory Hunter ebe2f371c1 Fix hot loader compatibility with Java8 Nashorn
The way that the hot loader is included in a bundle breaks in Java 8's
Nashorn engine, because of a missing semicolon. This change introduces
a placeholder value that can be correctly substituted when building
a bundle, but is otherwise inert.

Note that I don't particularly like this change, so if there's a better
fix, I'd like to hear about it.
2015-12-04 15:02:11 +00:00
Spencer Elliott c6ccf9d3a0 Add web worker HMR support 2015-11-02 22:39:24 -05:00