Fixed v0.42.0
This commit is contained in:
2
mod.ts
2
mod.ts
@@ -15,7 +15,7 @@ function runApp() {
|
|||||||
|
|
||||||
runApp();
|
runApp();
|
||||||
|
|
||||||
for await (const event of Deno.fsEvents('.')) {
|
for await (const event of Deno.watchFs('.')) {
|
||||||
if (event.kind !== "access") {
|
if (event.kind !== "access") {
|
||||||
if (timeout) clearTimeout(timeout);
|
if (timeout) clearTimeout(timeout);
|
||||||
timeout = setTimeout(runApp, throttle);
|
timeout = setTimeout(runApp, throttle);
|
||||||
|
|||||||
Reference in New Issue
Block a user