We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6766eca commit 0d20d42Copy full SHA for 0d20d42
lib/core/engine.js
@@ -146,7 +146,9 @@ class Engine {
146
self.currentAbi = abi;
147
self.contractsJSON = contractsJSON;
148
pipeline.build(abi, contractsJSON, null, function() {
149
- self.watch.restart(); // Necessary because changing a file while it is writing can stop it from being watched
+ if (self.watch) {
150
+ self.watch.restart(); // Necessary because changing a file while it is writing can stop it from being watched
151
+ }
152
self.events.emit('outputDone');
153
});
154
0 commit comments