Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDenoWatch

Method
📦 Aspire.Hosting.JavaScript v17.0.0
func (DenoAppResource) WithDenoWatch(options ...*WithDenoWatchOptions) DenoAppResource

Signature

methodWithDenoWatchbuilder
Enables --watch (or --watch-hmr when hmr is true).
WithDenoWatch(options ...*WithDenoWatchOptions) DenoAppResource
options...*WithDenoWatchOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDenoWatchOptions argument.

Hmr*boolWhether to emit --watch-hmr instead of --watch.
DenoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: