withDenoWatch

Method
📦 Aspire.Hosting.JavaScript v17.0.0
interface DenoAppResource {
// ... omitted for brevity
withDenoWatch(hmr?: boolean): DenoAppResource;
}

Signature

methodwithDenoWatchbuilder
Enables `--watch` (or `--watch-hmr` when `hmr` is `true`).
withDenoWatch(hmr?: boolean): DenoAppResource
hmrbooleanoptional= FalseWhether to emit `--watch-hmr` instead of `--watch`.
DenoAppResource

Applies to

This method applies to the following types: