Switching the order of the html5 serve command, and making it blocking so ctrl-c will kill the server in console

This commit is contained in:
underscorediscovery
2013-09-12 20:13:57 -02:30
parent 90aa278014
commit 471ebf3b2f

View File

@@ -75,8 +75,9 @@ class RunScript {
case "serve":
var args = ['server', '-p', '55555', '-h', 'localhost' ,'-d' , cwd + 'bin/html5/bin/'];
new sys.io.Process('nekotools', args);
// new sys.io.Process('nekotools', args);
new sys.io.Process('open', ['http://localhost:55555/']);
Sys.command("nekotools", args);
return true;