Commit Graph

46 Commits

Author SHA1 Message Date
Tobias Koppers cbcd459d19 fix conflicting real imports and type imports 2020-11-26 10:02:59 +01:00
Rishabh Chawla 8131088db7 chore: reorder statement 2020-09-19 09:55:02 +05:30
Rishabh Chawla bf9ae831bd chore: implement suggestions 2020-09-19 09:53:03 +05:30
Tobias Koppers 8497cd34c6 move start and endTime from Stats to Compilation 2020-09-03 22:01:25 +02:00
Tobias Koppers ca369f23c5 do cache related tasks after calling handler in watching
improve progress output
2020-08-01 09:00:17 +02:00
Tobias Koppers 8c00696660
Merge pull request #11177 from webpack/bugfix/watching-invalid
call invalid hook also when manually invalidating watching
2020-07-16 08:13:11 +02:00
Tobias Koppers 5a2fa99055 call invalid hook also when manually invalidating watching 2020-07-15 19:34:23 +02:00
Tobias Koppers c51f0e1ce1 improve code and test 2020-07-15 14:48:40 +02:00
xiaoxiaojx 201668a357 fix: multiple calls close watcher 2020-06-25 21:01:06 +08:00
Nitin Kumar 285529a643
chore: fix typos across the project 2020-03-10 07:29:46 +05:30
Tobias Koppers 0f96cb2586
Merge pull request #10118 from jeffin143/patch-10071
Fix:10071 - Accept watchOptions.aggregateTimeout be 0
2020-01-16 11:38:36 +01:00
CertainLach 6cae89975b
Method name fix 2019-12-28 19:15:06 +05:00
jeffinsam ee6bfca3bf Fix:10071 - Accept watchOptions.aggregateTimeout be 0 2019-12-17 11:13:33 +05:30
Tobias Koppers 2f1a0176b3 rename filesModified -> modifiedFiles
avoid creating additional arrays by allowing Iterable on WatchFileSystem interface
2019-11-15 13:49:15 +01:00
Max Woo d24eb46482 files modified during watch cycle are now accessible in a compiler property 2019-11-15 13:49:11 +01:00
Tobias Koppers db58219346 add logging to Compiler 2019-07-26 14:04:35 +02:00
Tobias Koppers 4afc097a07 add logging to Compiler 2019-07-26 14:03:55 +02:00
Tobias Koppers 35791372c9
Merge branch 'next' into feat_afterDone_hook 2019-07-09 21:14:40 +02:00
Tobias Koppers 4283b8b51a
Merge pull request #9312 from webpack/refactor/object-spread
replace Object.assign with object spread
2019-06-21 11:22:00 +02:00
Tobias Koppers ec88b7eddc Merge tag 'v4.35.0' into next
4.35.0
2019-06-21 09:15:49 +02:00
Tobias Koppers b2e7837288 replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
jkzing 460b099a63 test(watching): add integration test 2019-06-13 19:26:31 +08:00
jkzing df27a5e2bd feat(watching): allow suspend compilation 2019-06-13 19:18:00 +08:00
mc-zone 4f3e0d27b5 Merge branch 'next' into feat_afterDone_hook 2019-01-13 11:24:32 +08:00
Tobias Koppers 4492c30ac4 Update watching system to report more timing info to webpack
Add snapshotting feature to FileSystemInfo for better performance
2019-01-09 14:42:54 +01:00
Tobias Koppers ae4a5e67db insert process.nextTick to get cleaner stacks 2019-01-08 15:14:35 +01:00
Tobias Koppers ef9e25d8ea report dependencies from resolver to the compilation
refactor NormalModuleFactory
2019-01-08 15:14:25 +01:00
mc-zone 9877a677d8 refactor: remove closed check for afterDone calling in Watch; refactor tests 2018-12-26 21:56:19 +08:00
mc-zone 97fdbbb6a9 feat: add compiler.afterDone hook triggered after other callbacks 2018-12-25 15:08:12 +08:00
Florent Cailhol e06b4853d6 Add compiler typings 2018-12-12 10:26:53 +01:00
Tobias Koppers d9a0d3a139 Merge tag 'v4.23.0' into next
4.23.0
2018-10-24 20:10:30 +02:00
Tobias Koppers af4cb35784
Merge pull request #8175 from cacheflow/add-tracking-of-removed-files
feat(Compiler): Add file removal tracking in watch-run
2018-10-24 10:44:40 +02:00
renatoagds 7e0ca7193d move watchMode trigger for watch in compiler and close in watching 2018-10-23 14:52:32 -03:00
renatoagds 2f7533202c adding watchMode flag in compiler 2018-10-22 19:23:47 -03:00
Lex Alexander 2cdf04e14b feat(Compiler): Add file removal tracking in watch-run
-Closes 5072.
2018-10-18 15:58:58 -07:00
Tobias Koppers ae72fe3724 fixes timestamp transfer from watcher 2018-09-27 21:28:07 +02:00
Tobias Koppers 7340fbb547 refactor Cache
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Maksim 44e02f46d6 Wrap callback in watcher's close method 2018-03-07 12:15:46 +03:00
Maksim Nazarjev 07c1f6d86f Prevent webpack from running twice at a time 2018-03-07 00:56:31 +03:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Thibaut Dutartre af8de036b2 Transform done hook into async 2018-01-25 13:56:50 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers 74a8c45ea1 add getContext/FileTimestamps to watcher
get timestamps on invalidate

fixes #5970
2018-01-03 13:01:27 +01:00
Florent Cailhol 0014042c53 Move Watching to its own file 2017-12-31 18:16:03 +01:00