Skip to content
Permalink
Browse files
fix typo: this.addWatchfile (#3390)
  • Loading branch information
mistlog committed Feb 17, 2020
1 parent 6f28151 commit 5779af644b7daebc78bf05360a3f1943fb52ec48
Showing 1 changed file with 1 addition and 1 deletion.
@@ -424,7 +424,7 @@ Adds additional files to be monitored in watch mode so that changes to these fil

**Note:** Usually in watch mode to improve rebuild speed, the `transform` hook will only be triggered for a given module if its contents actually changed. Using `this.addWatchFile` from within the `transform` hook will make sure the `transform` hook is also reevaluated for this module if the watched file changes.

In general, it is recommended to use `this.addWatchfile` from within the hook that depends on the watched file.
In general, it is recommended to use `this.addWatchFile` from within the hook that depends on the watched file.

#### `this.emitFile(emittedFile: EmittedChunk | EmittedAsset) => string`

0 comments on commit 5779af6

Please sign in to comment.