We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6165baa commit f39fac9Copy full SHA for f39fac9
1 file changed
src/core/unplugin.ts
@@ -84,7 +84,7 @@ export default createUnplugin<Options>((options = {}) => {
84
webpack(compiler) {
85
let watcher: Watching
86
let fileDepQueue: { path: string, type: 'unlink' | 'add' }[] = []
87
- compiler.hooks.watchRun.tapAsync(PLUGIN_NAME, async () => {
+ compiler.hooks.watchRun.tapPromise(PLUGIN_NAME, async () => {
88
// ensure watcher is ready(supported since webpack@5.0.0-rc.1)
89
if (!watcher && compiler.watching) {
90
watcher = compiler.watching
0 commit comments