From 471ebf3b2f37c49879ac972dd1f24f46cf85995c Mon Sep 17 00:00:00 2001 From: underscorediscovery Date: Thu, 12 Sep 2013 20:13:57 -0230 Subject: [PATCH] Switching the order of the html5 serve command, and making it blocking so ctrl-c will kill the server in console --- script/src/RunScript.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/src/RunScript.hx b/script/src/RunScript.hx index 252bd40a4..b5e611f7f 100644 --- a/script/src/RunScript.hx +++ b/script/src/RunScript.hx @@ -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;