Unset `delayMs` in `watchImmediate`

in case user pass in an object containing it
which is the case in our file system example page
pull/2613/head
Tony 3 months ago
parent 80da30e13d
commit 260ece4e0c
No known key found for this signature in database
GPG Key ID: 34BDD3EA27824956

File diff suppressed because one or more lines are too long

@ -1317,7 +1317,8 @@ async function watchImmediate(
options?: WatchOptions
): Promise<UnwatchFn> {
return await watchInternal(paths, cb, {
...options
...options,
delayMs: undefined
})
}

Loading…
Cancel
Save