Allow custom ports (--port=123) when launching HTML5 content

This commit is contained in:
Joshua Granick
2015-04-11 22:32:53 -07:00
parent 376a85c57e
commit 5d435931db

View File

@@ -128,6 +128,12 @@ class HTML5Helper {
}
if (project.targetFlags.exists ("port")) {
port = Std.parseInt (project.targetFlags.get ("port"));
}
LogHelper.info ("", " - \x1b[1mStarting local web server:\x1b[0m http://localhost:" + port);
/*Thread.create (function () {