Merge pull request #462 from Demonthos/fix_hot_reload_paths

fix path separator for hot reloading
This commit is contained in:
Demonthos authored and GitHub committed 2022-06-29 12:24:14 -05:00
commit 7f5ad96c0b
2 files changed
+18 -13

No files matched your search

+12 -6
View File
@@ -10,7 +10,8 @@ fn render_basic() {
let dom = VirtualDom::new(Base);
let static_vnodes = rsx!(div{"hello world"});
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 0,
column: 0,
};
@@ -55,7 +56,8 @@ fn render_nested() {
}
};
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 1,
column: 0,
};
@@ -106,7 +108,8 @@ fn render_component() {
}
};
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 2,
column: 0,
};
@@ -157,7 +160,8 @@ fn render_iterator() {
}
};
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 3,
column: 0,
};
@@ -210,7 +214,8 @@ fn render_captured_variable() {
}
};
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 4,
column: 0,
};
@@ -261,7 +266,8 @@ fn render_listener() {
}
};
let location = CodeLocation {
file: String::new(),
file_path: String::new(),
crate_path: String::new(),
line: 5,
column: 0,
};