mirror of https://github.com/embarklabs/embark.git
hotfix for watch not defined
This commit is contained in:
parent
6766ecae5f
commit
0d20d422ce
|
@ -146,7 +146,9 @@ class Engine {
|
|||
self.currentAbi = abi;
|
||||
self.contractsJSON = contractsJSON;
|
||||
pipeline.build(abi, contractsJSON, null, function() {
|
||||
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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue