mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
Moved console "ready" message to write after outputDone event is emitted
This commit is contained in:
parent
ad136802da
commit
a3d2cc9a2c
@ -118,6 +118,11 @@ class Embark {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
engine.events.on('outputDone', function () {
|
||||||
|
engine.logger.info("Looking for documentation? You can find it at ".cyan + "http://embark.readthedocs.io/".green.underline + ".".cyan);
|
||||||
|
engine.logger.info("Ready".underline);
|
||||||
|
});
|
||||||
|
|
||||||
engine.deployManager.deployContracts(function (err) {
|
engine.deployManager.deployContracts(function (err) {
|
||||||
engine.startService("fileWatcher");
|
engine.startService("fileWatcher");
|
||||||
if (options.runWebserver) {
|
if (options.runWebserver) {
|
||||||
@ -136,8 +141,6 @@ class Embark {
|
|||||||
} else {
|
} else {
|
||||||
engine.events.emit('firstDeploymentDone');
|
engine.events.emit('firstDeploymentDone');
|
||||||
engine.events.emit("status", "Ready".green);
|
engine.events.emit("status", "Ready".green);
|
||||||
engine.logger.info("Looking for documentation? you can find it at ".cyan + "http://embark.readthedocs.io/".green.underline);
|
|
||||||
engine.logger.info("Ready".underline);
|
|
||||||
|
|
||||||
let size = windowSize.get();
|
let size = windowSize.get();
|
||||||
if (size.height < 40 || size.width < 118) {
|
if (size.height < 40 || size.width < 118) {
|
||||||
@ -249,7 +252,6 @@ class Embark {
|
|||||||
resetCmd();
|
resetCmd();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: should deploy if it hasn't already
|
|
||||||
upload(platform, options) {
|
upload(platform, options) {
|
||||||
|
|
||||||
options.buildDir = 'dist/';
|
options.buildDir = 'dist/';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user