add examples to the default watch path

This commit is contained in:
Evan Almloff committed 2023-10-30 14:41:41 -05:00
1 parent 78120ca0e2
commit 51f342417a
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ impl Default for DioxusConfig {
},
proxy: Some(vec![]),
watcher: WebWatcherConfig {
watch_path: Some(vec![PathBuf::from("src")]),
watch_path: Some(vec![PathBuf::from("src"), PathBuf::from("examples")]),
reload_html: Some(false),
index_on_404: Some(true),
},