Skip to content

Commit

Permalink
Fix suggestion to "npm start -- --reset-cache"
Browse files Browse the repository at this point in the history
As discussed in #11983. The double dash is necessary to pass through the argument to node. Based on the comments [here](#1924 (comment)), it looks like most people use the double dash; it's unclear whether it would do anything at all if the dashes were omitted. If anyone else has better insight, let me know!

@hramos please review, thank you.

This reverts commit f521e99.
  • Loading branch information
cooperka authored Mar 17, 2017
1 parent 60142ad commit 1da8eea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class ResolutionRequest {
`To resolve try the following:\n` +
` 1. Clear watchman watches: \`watchman watch-del-all\`.\n` +
` 2. Delete the \`node_modules\` folder: \`rm -rf node_modules && npm install\`.\n` +
' 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start --reset-cache`.'
' 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`.'
);
});
});
Expand Down

0 comments on commit 1da8eea

Please sign in to comment.