fixes for runing on meteor
This commit is contained in:
parent
447f967061
commit
3e0e1fda0c
|
@ -37,7 +37,7 @@ var Blockchain = function(options) {
|
|||
|
||||
Blockchain.prototype.runCommand = function(cmd) {
|
||||
console.log(("running: " + cmd.underline).green);
|
||||
return shelljs.exec(cmd);
|
||||
return shelljs.exec(cmd, {async:true});
|
||||
};
|
||||
|
||||
Blockchain.prototype.run = function() {
|
||||
|
|
|
@ -48,7 +48,7 @@ var Embark = (function () {
|
|||
|
||||
var engine = new Engine({
|
||||
env: options.env,
|
||||
embarkConfig: 'embark.json'
|
||||
embarkConfig: options.embarkConfig || 'embark.json'
|
||||
});
|
||||
engine.init();
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Watch.prototype.start = function() {
|
|||
var self = this;
|
||||
// TODO: should come from the config object instead of reading the file
|
||||
// directly
|
||||
var embarkConfig = fs.readJSONSync("embark.json");
|
||||
var embarkConfig = fs.readJSONSync('./../../../../../server/embark.json');
|
||||
|
||||
this.watchAssets(embarkConfig, function() {
|
||||
self.logger.trace('ready to watch asset changes');
|
||||
|
|
Loading…
Reference in New Issue