Merge pull request #48 from Demonthos/fix_path_seperator

fix path separator for hot reloading
This commit is contained in:
YuKun Liu authored and GitHub committed 2022-06-30 09:25:40 +08:00
commit a0a8b8b2d3
2 files changed
+7 -3

No files matched your search

+1
View File
@@ -121,6 +121,7 @@ pub async fn startup_hot_reload(port: u16, config: CrateConfig) -> Result<()> {
log::info!("reloading rsx");
for (old, new) in changed.into_iter() {
let hr = get_location(
&crate_dir,
&path.to_path_buf(),
old.to_token_stream(),
);