Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nricciardi committed Nov 11, 2024
1 parent 27f2e9e commit f0e19ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ url = "2.5.0"
tokio = { version = "1", features = ["full"] }
warp = "0.3"
chrono = "0.4.38"
nmd-core = "0.41.0"
nmd-core = {path = "../nmd-core"}


[profile.profiling]
Expand Down
11 changes: 3 additions & 8 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,9 @@ impl Builder {

if let Some(there_is_preview) = builder_configuration.preview() {
if there_is_preview {
if let Some(watch_mode) = builder_configuration.watching() {
if watch_mode {

assembler_configuration.external_scripts_mut()
.push(include_str!("preview/check_preview_updates.js").to_string())

}
}

assembler_configuration.external_scripts_mut()
.push(include_str!("preview/check_preview_updates.js").to_string());
}
}

Expand Down

0 comments on commit f0e19ef

Please sign in to comment.