mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Don't try to close webpack watcher if it doesn't exist.
This commit is contained in:
@@ -38,7 +38,9 @@ module.exports = function(options) {
|
||||
})
|
||||
|
||||
lifecycle.observe(function() {
|
||||
watching.watcher.close()
|
||||
if (watching.watcher) {
|
||||
watching.watcher.close()
|
||||
}
|
||||
})
|
||||
|
||||
function doneListener(stats) {
|
||||
|
||||
Reference in New Issue
Block a user