We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03038a9 commit d4ded49Copy full SHA for d4ded49
src/build/parse.rs
@@ -93,7 +93,12 @@ pub fn generate_asts(
93
.into_iter()
94
.for_each(|(module_name, ast_path, iast_path, is_dirty)| {
95
if let Some(module) = build_state.modules.get_mut(&module_name) {
96
- module.compile_dirty = is_dirty;
+ // if the module is dirty, mark it also compile_dirty
97
+ // do NOT set to false if the module is not parse_dirty, it needs to keep
98
+ // the compile_dirty flag if it was set before
99
+ if is_dirty {
100
+ module.compile_dirty = true;
101
+ }
102
let package = build_state
103
.packages
104
.get(&module.package_name)
0 commit comments