Commit Graph

37 Commits

Author SHA1 Message Date
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Florent Cailhol 1590751da2 Replace dictionaries by Map or Set 2018-01-06 09:45:57 +01:00
Florent Cailhol fb1c041a95 Forward run and watchRun calls when using MultiCompiler 2017-12-29 17:25:25 +01:00
Florent Cailhol f737b26260 Remove some plugin calls 2017-12-14 14:42:49 +01:00
Tobias Koppers 6689539bc2 migrate missed watchClose hook 2017-11-28 16:23:43 +01:00
Tobias Koppers 0ccc0374d7 upgrade tapable for MultiCompiler 2017-11-28 10:23:35 +01:00
Tobias Koppers 5a4f0aca67 change imports of tapable to old version
prepare to migrate to new tapable version
2017-11-27 20:56:42 +01:00
Tobias Koppers 75f68a2635 fixes linting, remove not needed context arguments 2017-11-08 20:49:41 +01:00
Ryan Harvey c4bdc665a8 use set for efficient delete 2017-09-17 10:31:53 -05:00
Ryan Harvey ccaca5fa17 display possible circular compiler dependencies 2017-09-17 08:38:19 -05:00
Ryan Harvey 1bd6055407 remove unused variables 2017-09-17 08:36:27 -05:00
Ryan Harvey ecd02195a2 return error object for compiler dependency errors 2017-09-11 08:55:28 -05:00
Ryan Harvey 934534e969 fix lint error in mutli compiler 2017-09-08 11:46:47 -05:00
Ryan Harvey eda2897a6e generate error message for missing compiler dependencies 2017-09-08 11:18:12 -05:00
Tobias Koppers 991b360c90 fix useless-escape linting issues 2017-07-24 11:54:06 +02:00
Kyle Truong 18cdba87f5 4099_ES6 refactor lib/MultiCompiler.js 2017-06-14 06:33:03 -04:00
SendilKumar N cd688f84da changing async to asyncLib 2017-04-05 21:06:23 +08:00
Tobias Koppers 83ad4b0f35 Merge pull request #4169 from kball/IS4156-multicompiler-watch-options
Update MultiCompiler and lib/webpack to better support multiple watchOptions
2017-04-04 18:21:13 +02:00
Tobias Koppers ac1a25d7a0 allow passing a single options object to a MultiCompiler 2017-04-04 11:43:48 +02:00
James Newell 2dfdbad047 emit watch-close event when watcher closes 2017-03-06 14:32:34 +11:00
Kevin Ball ea2f25f319 Update MultiCompiler and lib/webpack to better support multiple watchOptions 2017-02-01 15:14:18 -08:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Alistair Brown 5da3c99584 Add tests for MultiCompiler (#3802)
* Split out multi-compiler functionality

* Add tests for MultiWatching

* Add tests for MultiStats

* Add tests for MultiCompiler
2017-01-07 00:56:47 -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 52cf8a1209 consistent order in MultiCompiler 2016-09-20 00:20:16 +02:00
Tobias Koppers e896d14829 MultiCompiler with compilers depend on other 2016-09-16 01:20:34 +02:00
Ahmet Katrancı 8ff6cb5fed Report constructor correctly when inheriting from Tapable 2015-08-18 12:35:57 +01:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Avi Haiat daff7440a6 feat(app): Fix some obvious lint errors and warnings 2015-07-08 15:52:41 +03:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers dcc9d5867f fixes #819 2015-02-28 01:40:11 +01:00
Tobias Koppers ea34a15dd8 fixes #645 2014-12-27 20:26:46 +01:00
Tobias Koppers 1e37053f7e Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
Tobias Koppers 38108290e8 fixed MultiCompiler with watching 2014-06-12 06:29:39 +02:00
Tobias Koppers b0caa69ae1 fixed file system purging 2014-06-11 22:52:02 +02:00
Tobias Koppers 44bb43854f Added experimental MultiCompiler
webpack(...) takes an array
support an array in webpack.config.js
2014-06-11 22:26:50 +02:00