You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Webview}from"https://deno.land/x/[email protected]/mod.ts";consthtml=` <html><body> <h1>Hello from deno v${Deno.version.deno}</h1> </body></html>`;constwebview=newWebview();webview.navigate(`data:text/html,${encodeURIComponent(html)}`);webview.run();
Run the program with deno run -A --unstable --watch index.ts. You'll find that deno no longer restarts the program when a file is changed. It seems that after webview.run() is called, watcher events are blocked.
I'm using the latest version of deno as of writing (v1.36.4).