Update instructions for File Watcher in WebStorm (#3424)

Re-use the instructions for setting the File Watcher program path in WebStorm when prettier is installed locally.
This commit is contained in:
Alf Eaton authored and Lucas Duailibe committed 2017-12-06 13:35:56 -02:00
1 parent a9502f0ab7
commit 67ec3b2f05
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ Go to _File | Settings | Tools | File Watchers_ for Windows and Linux or _WebSto
* **File Type**: JavaScript
* **Scope**: Current File
* **Program** set the full path to a `prettier` executable, such as `/Users/developer/repo/jest/node_modules/.bin/prettier` (on OS X and Linux) or `C:/\Users\developer\repo\jest\node_modules\.bin\prettier.cmd` (on Windows).
* **Program** set `prettier` (if you have `prettier` installed locally, see ["Configure External Tool"](#configure-external-tool) above)
* **Arguments** set `--write [other opts] $FilePath$`
* **Working directory** set `$ProjectFileDir$`
* **Immediate file synchronization**: Uncheck to reformat on Save only (otherwise code will jump around while you type).