mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 05:03:06 +00:00
fix: delete comment
This commit is contained in:
parent
b8b0303904
commit
23e09f0d9f
1 changed files with 1 additions and 28 deletions
|
@ -70,33 +70,6 @@ pub async fn startup(config: CrateConfig) -> anyhow::Result<()> {
|
|||
.unwrap();
|
||||
}
|
||||
|
||||
// tokio::spawn(async move {
|
||||
// while let Ok(v) = watcher_rx.recv() {
|
||||
// match v {
|
||||
// DebouncedEvent::Create(_)
|
||||
// | DebouncedEvent::Write(_)
|
||||
// | DebouncedEvent::Remove(_)
|
||||
// | DebouncedEvent::Rename(_, _) => {
|
||||
// if builder::build(&watcher_conf).is_ok() {
|
||||
// // change the websocket reload state to true;
|
||||
// // the page will auto-reload.
|
||||
// if watcher_conf
|
||||
// .dioxus_config
|
||||
// .web
|
||||
// .watcher
|
||||
// .reload_html
|
||||
// .unwrap_or(false)
|
||||
// {
|
||||
// let _ = Serve::regen_dev_page(&watcher_conf);
|
||||
// }
|
||||
// reload_tx.send("reload".into()).unwrap();
|
||||
// }
|
||||
// }
|
||||
// _ => {}
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
// start serve dev-server at 0.0.0.0:8080
|
||||
let port = "8080";
|
||||
log::info!("📡 Dev-Server is started at: http://127.0.0.1:{}/", port);
|
||||
|
|
Loading…
Reference in a new issue