mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Don't try to close webpack watcher if it doesn't exist.
This commit is contained in:
parent
bd75d20a45
commit
2379acae5d
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@ module.exports = function(options) {
|
|||
})
|
||||
|
||||
lifecycle.observe(function() {
|
||||
watching.watcher.close()
|
||||
if (watching.watcher) {
|
||||
watching.watcher.close()
|
||||
}
|
||||
})
|
||||
|
||||
function doneListener(stats) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue