Skip to content

Commit

Permalink
coryhouse#572: Add documentation for preparing macOS environment and …
Browse files Browse the repository at this point in the history
…update version of the "hard-source-webpack-plugin" (coryhouse#573)

* Resolves coryhouse#572: Add documentation for preparing macOS environment and update version of the "hard-source-webpack-plugin"

* Resolves coryhouse#572: Be more concrete in the documentation

* Streamline wording
  • Loading branch information
BR0kEN- authored and coryhouse committed Jun 1, 2018
1 parent ee6c076 commit 956c47e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,19 @@ Why Slingshot?

3. **[Disable safe write in your editor](https://webpack.js.org/guides/development/#adjusting-your-text-editor)** to assure hot reloading works properly.

4. On a Mac? You're all set. If you're on Linux or Windows, complete the steps for your OS below.
4. Complete the steps below for your operating system:

### On Linux
### macOS

* Install [watchman](https://facebook.github.io/watchman/) via `brew install watchman` or fswatch via `brew install fswatch` to avoid [this issue](https://github.com/facebook/create-react-app/issues/871) which occurs if your macOS has no appropriate file watching service installed.

### Linux

* Run this to [increase the limit](http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc) on the number of files Linux will watch. [Here's why](https://github.com/coryhouse/react-slingshot/issues/6).

`echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p`.

### On Windows
### Windows

* **Install [Python 2.7](https://www.python.org/downloads/)**. Some node modules may rely on node-gyp, which requires Python on Windows.
* **Install C++ Compiler**. Browser-sync requires a C++ compiler on Windows.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"eslint-watch": "3.1.2",
"extract-text-webpack-plugin": "4.0.0-beta.0",
"file-loader": "1.1.11",
"hard-source-webpack-plugin": "0.6.4",
"hard-source-webpack-plugin": "0.7.4",
"history": "4.6.0",
"html-webpack-plugin": "3.2.0",
"identity-obj-proxy": "3.0.0",
Expand Down

0 comments on commit 956c47e

Please sign in to comment.