From 07ad9b02f2b8407a898b6ba4f39a97de83f9708a Mon Sep 17 00:00:00 2001 From: Christopher Chedeau <vjeux@fb.com> Date: Sun, 17 Jul 2016 10:01:34 -0700 Subject: [PATCH] Open url in Chrome if app is already opened --- scripts/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start.js b/scripts/start.js index cb2069625..6abad4b64 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -43,6 +43,6 @@ new WebpackDevServer(webpack(config), { execSync('ps cax | grep "Google Chrome"'); execSync('open -a "Google Chrome" http://localhost:3000/'); } catch(e) { - // Do nothing if Chrome cannot be opened + // Do nothing if Chrome isn't opened or cannot be opened } }); -- GitLab