DenoAppResource.WithDenoWatch
Method
type DenoAppResource interface { // ... omitted for brevity WithDenoWatch(options ...*WithDenoWatchOptions) DenoAppResource}Signature
method
WithDenoWatch builderEnables
--watch (or --watch-hmr when hmr is true).WithDenoWatch(options ...*WithDenoWatchOptions) DenoAppResourceParameters
options...*WithDenoWatchOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDenoWatchOptions argument.
Hmr*boolWhether to emit --watch-hmr instead of --watch .Returns
DenoAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: