fix(utilityservers): enable file watching whenever a static serve directory is configured
This commit is contained in:
@@ -67,7 +67,7 @@ export class UtilityWebsiteServer {
|
||||
|
||||
// Development features
|
||||
injectReload: this.options.injectReload ?? true,
|
||||
watch: !!(this.options.serveDir && (this.options.injectReload ?? true)),
|
||||
watch: !!this.options.serveDir,
|
||||
noCache: this.options.noCache ?? true,
|
||||
|
||||
// SPA support (enabled by default for modern web apps)
|
||||
|
||||
Reference in New Issue
Block a user