Commit 07ad9b02 authored by Christopher Chedeau's avatar Christopher Chedeau
Browse files

Open url in Chrome if app is already opened

parent 279d704f
Showing with 1 addition and 1 deletion
+1 -1
...@@ -43,6 +43,6 @@ new WebpackDevServer(webpack(config), { ...@@ -43,6 +43,6 @@ new WebpackDevServer(webpack(config), {
execSync('ps cax | grep "Google Chrome"'); execSync('ps cax | grep "Google Chrome"');
execSync('open -a "Google Chrome" http://localhost:3000/'); execSync('open -a "Google Chrome" http://localhost:3000/');
} catch(e) { } catch(e) {
// Do nothing if Chrome cannot be opened // Do nothing if Chrome isn't opened or cannot be opened
} }
}); });
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment