Skip to content

Commit

Permalink
fix: enable the auto-loader when required
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed May 24, 2024
1 parent b5ea64c commit 5f8291e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Serve {
watch: rt::WatchOptions {
build: rt::BuildOptions {
core,
inject_autoloader: false,
inject_autoloader: !cfg.serve.no_autoreload,
},
poll: self.watch.poll.then_some(self.watch.poll_interval.0),
enable_cooldown: self.watch.enable_cooldown,
Expand Down

0 comments on commit 5f8291e

Please sign in to comment.