Skip to content

Commit

Permalink
document known WebStorm file-watching issue
Browse files Browse the repository at this point in the history
  • Loading branch information
calesce committed Jan 26, 2017
1 parent f47c88e commit 7f67a52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ You may want to change the host in `server.js` and `webpack.config.js` from `loc

This boilerplate is purposefully simple to show the minimal configuration for React Hot Loader. For a real project, you'll want to add a separate config for production with hot reloading disabled and minification enabled. You'll also want to add a router, styles and maybe combine dev server with an existing server. This is out of scope of this boilerplate, but you may want to look into [other starter kits](https://github.com/gaearon/react-hot-loader/blob/master/docs/README.md#starter-kits).

### WebStorm

Because the WebStorm IDE uses "safe writes" by default, Webpack's file-watcher won't recognize file changes, so hot-loading won't work. To fix this, disable "safe write" in WebStorm.

### Dependencies

* React
Expand Down

0 comments on commit 7f67a52

Please sign in to comment.