fix: Use correct cfg for file_watcher feature in dioxus-hot-reload (#1238)

* fix: Use correct cfg for file_watcher feature in dioxus-hot-reload

* Update file_watcher.rs

* Update lib.rs

* fmt
This commit is contained in:
Marc Espín authored and GitHub committed 2023-07-23 09:29:59 -05:00
1 parent 0097b82490
commit 915e79e3be
2 files changed
+5 -4

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ use std::{
sync::{Arc, Mutex},
};
use crate::HotReloadMsg;
use dioxus_core::Template;
use dioxus_rsx::{
hot_reload::{FileMap, FileMapBuildResult, UpdateResult},