Skip to content

Commit

Permalink
Update troubleshooting.md (#7459)
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc authored and ianschmitz committed Sep 9, 2019
1 parent bb31710 commit aafc7ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus/docs/troubleshooting.md
Expand Up @@ -9,6 +9,7 @@ sidebar_label: Troubleshooting
When you save a file while `npm start` is running, the browser should refresh with the updated code.<br>
If this doesn’t happen, try one of the following workarounds:

- Check that your file is imported by you entrypoint. TypeScript will show errors on any of your source files, but webpack only reloads your files if they are directly or indirectly imported by one of your entrypoints.
- If your project is in a Dropbox folder, try moving it out.
- If the watcher doesn’t see a file called `index.js` and you’re referencing it by the folder name, you [need to restart the watcher](https://github.com/facebook/create-react-app/issues/1164) due to a Webpack bug.
- Some editors like Vim and IntelliJ have a “safe write” feature that currently breaks the watcher. You will need to disable it. Follow the instructions in [“Adjusting Your Text Editor”](https://webpack.js.org/guides/development/#adjusting-your-text-editor).
Expand Down

0 comments on commit aafc7ff

Please sign in to comment.