Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
07ad9b02
Commit
07ad9b02
authored
8 years ago
by
Christopher Chedeau
Browse files
Options
Download
Email Patches
Plain Diff
Open url in Chrome if app is already opened
parent
279d704f
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/start.js
+1
-1
scripts/start.js
with
1 addition
and
1 deletion
+1
-1
scripts/start.js
+
1
-
1
View file @
07ad9b02
...
...
@@ -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
}
});
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets