Fix WSL Hot Reload (#2721)

* feat: poll watcher
* progress: wsl hot reload setting
* feat: wsl poll setting
This commit is contained in:
Miles Murgaw authored and GitHub committed 2024-07-29 12:33:03 -07:00
1 parent 4e338accad
commit b7127ad6ae
5 files changed
+159 -62

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ pub async fn serve_all(serve: Serve, dioxus_crate: DioxusCrate) -> Result<()> {
builder.build();
let mut server = Server::start(&serve, &dioxus_crate);
let mut watcher = Watcher::start(&dioxus_crate);
let mut watcher = Watcher::start(&serve, &dioxus_crate);
let mut screen = Output::start(&serve).expect("Failed to open terminal logger");
loop {