1
0
Fork 0
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:
Simo Kinnunen 2014-05-01 10:56:50 +09:00
parent bd75d20a45
commit 2379acae5d

View file

@ -38,7 +38,9 @@ module.exports = function(options) {
})
lifecycle.observe(function() {
watching.watcher.close()
if (watching.watcher) {
watching.watcher.close()
}
})
function doneListener(stats) {