diff options
Diffstat (limited to 'crates/typst-cli/src/compile.rs')
| -rw-r--r-- | crates/typst-cli/src/compile.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs index 49a6b6eb..2962355e 100644 --- a/crates/typst-cli/src/compile.rs +++ b/crates/typst-cli/src/compile.rs @@ -75,8 +75,7 @@ pub fn compile_once( Status::Compiling.print(command).unwrap(); } - // Reset everything and ensure that the main file is present. - world.reset(); + // Ensure that the main file is present. world.source(world.main()).map_err(|err| err.to_string())?; let mut tracer = Tracer::new(); |
