include fix for bug

This commit is contained in:
emizzle 2018-05-01 00:03:31 +10:00
commit 6ef78ff770

View File

@ -146,7 +146,9 @@ class Engine {
self.currentAbi = abi;
self.contractsJSON = contractsJSON;
pipeline.build(abi, contractsJSON, null, function() {
self.watch.restart(); // Necessary because changing a file while it is writing can stop it from being watched
if (self.watch) {
self.watch.restart(); // Necessary because changing a file while it is writing can stop it from being watched
}
self.events.emit('outputDone');
});
});