Commit Graph

56 Commits

Author SHA1 Message Date
Shubheksha Jalan c7d5ecf8d3 refactor(ES6): WatchTestCases.test.js 2017-01-18 21:17:00 +05:30
Yuriy Ostapenko a87b61f526 Include child compilation hash into parent hash computation (#3744)
Without it, child compilations like those added by "extract-text-webpack-plugin" are not included in stats hash and aren't properly displayed on change.
2017-01-05 23:03:54 -06:00
Yuriy Ostapenko 9f6a601ca6 Fix multiconfig watch (#3737)
* Fix MultiCompiler watch mode stats output

Previously, stats would contain stale configuration child stats. This is very confusing, since it looks as if some things are emitted when they shouldn't be.

Add support for making assertions to stats in watch tests.

* Fix test hanging on Windows/Linux

Parallel watchpack's (happens when MultiCompiler is in use) do not emit events in watch tests, unless some timeout is added.
This does not seem to be an issue on macOS.

* Correctly close watcher in watch tests

This fixes macOS build, where changes keep being triggered
2017-01-04 23:46:13 -06:00
Tobias Koppers 0d0f7e0062 allow webpack.config.js in watch test 2016-12-21 22:56:16 +01:00
Tobias Koppers e299d600f7 ignore extra compilation while testing watching 2016-12-19 20:03:15 +01:00
Tobias Koppers bcc0227089 add infrastructure for watch tests 2016-12-17 09:05:34 +01:00