From 2351b6a3402f9e52cf33f9104ad66b0169f08987 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 12 Mar 2018 15:34:25 -0700 Subject: [PATCH] Add 'Rebuilding' message to -watch --- lime/tools/helpers/WatchHelper.hx | 10 ---------- templates/bin/node/watch/cli-custom.js | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lime/tools/helpers/WatchHelper.hx b/lime/tools/helpers/WatchHelper.hx index 12763dda6..8f3febda2 100644 --- a/lime/tools/helpers/WatchHelper.hx +++ b/lime/tools/helpers/WatchHelper.hx @@ -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 ]; args = args.concat (directories); - args.push ("--exit"); args.push ("--ignoreDotFiles"); args.push ("--ignoreUnreadable"); diff --git a/templates/bin/node/watch/cli-custom.js b/templates/bin/node/watch/cli-custom.js index 0f62275f2..ac0c8b0ba 100644 --- a/templates/bin/node/watch/cli-custom.js +++ b/templates/bin/node/watch/cli-custom.js @@ -93,6 +93,7 @@ for(i = 0; i < dirLen; i++) { } catch (e) {} } try { + console.error('> Rebuilding...') shell = execshell(command) } catch (e) { console.error (e);