Skip to content

Commit 260ece4

Browse files
committed
Unset delayMs in watchImmediate
in case user pass in an object containing it which is the case in our file system example page
1 parent 80da30e commit 260ece4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/fs/api-iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/fs/guest-js/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,8 @@ async function watchImmediate(
13171317
options?: WatchOptions
13181318
): Promise<UnwatchFn> {
13191319
return await watchInternal(paths, cb, {
1320-
...options
1320+
...options,
1321+
delayMs: undefined
13211322
})
13221323
}
13231324

0 commit comments

Comments
 (0)