Skip to content

Commit d0791ac

Browse files
authored
fix(hot-module-replacement): watch status don't exist
1 parent f327bc0 commit d0791ac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/api/hot-module-replacement.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ module.hot.status() // Will return one of the following strings...
7878
| ----------- | -------------------------------------------------------------------------------------- |
7979
| idle | The process is waiting for a call to `check` (see below) |
8080
| check | The process is checking for updates |
81-
| watch | The process is in watch mode and will be automatically notified about changes |
82-
| watch-delay | Delaying for a specified time after the initial change to allow for any other updates |
8381
| prepare | The process is getting ready for the update (e.g. downloading the updated module) |
8482
| ready | The update is prepared and available |
8583
| dispose | The process is calling the `dispose` handlers on the modules that will be replaced |
@@ -105,7 +103,7 @@ The `autoApply` parameter can either be a boolean or `options` to pass to the `a
105103

106104
### `apply`
107105

108-
Continue the update process (as long as `module.hot.status() === 'ready').
106+
Continue the update process (as long as `module.hot.status() === 'ready'`).
109107

110108
``` js
111109
module.hot.apply(options).then(outdatedModules => {

0 commit comments

Comments
 (0)