Add 'Rebuilding' message to -watch
This commit is contained in:
@@ -102,19 +102,9 @@ class WatchHelper {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// LogHelper.info ("", " - \x1b[1mStarting local web server:\x1b[0m http://localhost:" + port);
|
|
||||||
|
|
||||||
/*Thread.create (function () {
|
|
||||||
|
|
||||||
Sys.sleep (0.5);
|
|
||||||
ProcessHelper.openURL ("http://localhost:" + port);
|
|
||||||
|
|
||||||
});*/
|
|
||||||
|
|
||||||
var args = [ bin, command ];
|
var args = [ bin, command ];
|
||||||
args = args.concat (directories);
|
args = args.concat (directories);
|
||||||
|
|
||||||
|
|
||||||
args.push ("--exit");
|
args.push ("--exit");
|
||||||
args.push ("--ignoreDotFiles");
|
args.push ("--ignoreDotFiles");
|
||||||
args.push ("--ignoreUnreadable");
|
args.push ("--ignoreUnreadable");
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ for(i = 0; i < dirLen; i++) {
|
|||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
console.error('> Rebuilding...')
|
||||||
shell = execshell(command)
|
shell = execshell(command)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error (e);
|
console.error (e);
|
||||||
|
|||||||
Reference in New Issue
Block a user