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
6a8f79ce
Commit
6a8f79ce
authored
8 years ago
by
Dave Ceddia
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Prevent Webpack from watching node_modules dir (#294)
parent
6a830a55
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/start.js
+4
-1
scripts/start.js
with
4 additions
and
1 deletion
+4
-1
scripts/start.js
+
4
-
1
View file @
6a8f79ce
...
...
@@ -155,7 +155,10 @@ function runDevServer(port) {
historyApiFallback
:
true
,
hot
:
true
,
// Note: only CSS is currently hot reloaded
publicPath
:
config
.
output
.
publicPath
,
quiet
:
true
quiet
:
true
,
watchOptions
:
{
ignored
:
/node_modules/
}
}).
listen
(
port
,
(
err
,
result
)
=>
{
if
(
err
)
{
return
console
.
log
(
err
);
...
...
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