Skip to content

Commit 356477a

Browse files
mozmorrisSpaceK33z
authored andcommitted
Update README.md (#114)
.waitUntilValid() should be called on the returned instance.
1 parent 5b5108e commit 356477a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ This part shows how you might interact with the middleware during runtime:
105105
```js
106106
var webpackDevMiddlewareInstance = webpackMiddleware(/* see example usage */);
107107
app.use(webpackDevMiddlewareInstance);
108-
webpackDevMiddleware.waitUntilValid(function(){
108+
webpackDevMiddlewareInstance.waitUntilValid(function(){
109109
console.log('Package is in a valid state');
110110
});
111111
```

0 commit comments

Comments
 (0)