Why not:

```
webpackDevMiddleware.close = function(callback) {
 	if(watching) watching.close(callback);
};
```