Merge branch 'master' of github.com:underscorediscovery/LiME
This commit is contained in:
@@ -75,8 +75,14 @@ class RunScript {
|
|||||||
case "serve":
|
case "serve":
|
||||||
|
|
||||||
//non blocking open the page
|
//non blocking open the page
|
||||||
|
var system = Sys.systemName();
|
||||||
|
if(system == "Windows") {
|
||||||
|
new sys.io.Process('cmd', ['/C start http://localhost:55555/']);
|
||||||
|
} else {
|
||||||
new sys.io.Process('open', ['http://localhost:55555/']);
|
new sys.io.Process('open', ['http://localhost:55555/']);
|
||||||
|
}
|
||||||
//blocking server call
|
//blocking server call
|
||||||
|
|
||||||
var args = ['server', '-p', '55555', '-h', 'localhost' ,'-d' , cwd + 'bin/html5/bin/'];
|
var args = ['server', '-p', '55555', '-h', 'localhost' ,'-d' , cwd + 'bin/html5/bin/'];
|
||||||
//run the server
|
//run the server
|
||||||
Sys.command("nekotools", args);
|
Sys.command("nekotools", args);
|
||||||
|
|||||||
Reference in New Issue
Block a user