Commit Graph

19 Commits

Author SHA1 Message Date
Tobias Koppers a2eada1d33 Merge branch 'master' into next
# Conflicts:
#	lib/BannerPlugin.js
2018-01-22 08:48:30 +01:00
nename0 1895b76dfc Add Tests checking chunkhash of runtime chunk only changes if needed 2018-01-12 23:50:47 +01:00
Tobias Koppers d434a012a9
Merge pull request #6165 from ooflorent/watch_flag
Allow watch tests to be skip
2017-12-21 09:31:38 +01:00
Florent Cailhol e58e1f9261 Use hooks in test cases 2017-12-21 07:17:27 +01:00
Florent Cailhol e4002b5e76 Allow watch tests to be skip 2017-12-20 16:53:56 +01:00
Tobias Koppers 2201b860a5 Add mode option and choose defaults depending on mode
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers 5941ab0d0c fix linting errors 2017-11-15 14:08:11 +01:00
Tobias Koppers 0975d13da7 assign correct cache to child compilation
fixes webpack-contrib/extract-text-webpack-plugin#612
2017-09-13 16:29:37 +02:00
Tobias Koppers 9dbed7360d integrate the delegated module better into the exports flagging process 2017-07-26 10:12:40 +02:00
Tobias Koppers b4c74b2f27 allow watch cases to have errors per step 2017-07-15 13:36:31 +02:00
Tobias Koppers 0db9d8f107 run watch cases with more timeout
this makes CI stable
2017-03-16 08:43:22 +01:00
Tobias Koppers f84412cfb2 allow watcher to detect removals
fixes #4162
maybe fixes #4079
maybe fixes #1533
2017-03-15 15:50:05 +01:00
James Newell 5536b1e82b increase timeout for unrelated tests to see if they pass on CI 2017-03-06 14:52:17 +11:00
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