Commit Graph

65 Commits

Author SHA1 Message Date
alexander.akait ac0bd21801 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 417f53ee81 fix(types): watching and more 2024-03-13 21:23:33 +03:00
alexander.akait 6cd0ddbf26 fix: types 2024-02-21 17:05:29 +03:00
alexander.akait cc734af66e refactor(types): more 2023-06-22 02:45:07 +03:00
Asriel Yu 96da766002
Merge branch 'webpack:main' into fix-callback-err-type-should-include-null 2022-01-14 20:07:21 +08:00
Asriel Yu 0105d7d3e6 add omitted types should include null 2022-01-11 19:41:14 +08:00
Mark Molinaro 6ec6eff163 Lower default aggregateTimeout to 20ms 2021-12-22 21:42:57 +00:00
Tobias Koppers 7025319eea upgrade watchpack
use new collectTimeInfoEntries method from watchpack

add more efficient Watcher.getInfo method
2021-11-25 09:27:04 +01:00
Tobias Koppers 05c1861684 close watching when closing compiler
do not shutdown cache when closing only the watching
2021-08-30 15:01:24 +02:00
Tobias Koppers 8dd38f5c8a refactor 2021-07-16 13:05:18 +02:00
Tobias Koppers 142bc5610f store cache after large changes
detect larger changes automatically and use shorter timeout
2021-06-28 11:35:14 +02:00
Tobias Koppers 8e9daad216 track changes and removals correctly
purge filesystem correctly
2021-05-19 19:06:58 +02:00
Tobias Koppers 0b3f717123
Merge pull request #13399 from webpack/bugfix/resume-watching
fix suspend and resuming watching correctly
2021-05-19 07:02:10 +02:00
Tobias Koppers 0d4dbd019a fix collecting of changed files and aggregating when suspending 2021-05-18 14:23:33 +02:00
Tobias Koppers 878ce6b11a respect multi compiler `dependencies` and `parallelism` when using `invalidate` 2021-05-17 13:49:43 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers b525e61a72 make sure that invalid event is only reported once 2021-04-09 17:51:58 +02:00
Tobias Koppers 1ebc7ca974 fix some incorrect properties accesses
fix some edge cases with MultiCompiler

fixes #12770
2021-02-24 20:12:32 +01:00
Tobias Koppers e7d9457963 refactor dependencies handling in MultiCompiler
add support for dependencies during watching
add parallelism option for MultiCompiler
2021-02-13 21:02:47 +01:00
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