-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: better explanation & troubleshooting (#27)
- Add Troubleshooting Page - Define directories, that the user has to create manually - Fix monorepo example
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Troubleshooting | ||
|
||
## `Error: ENOSPC: System limit for number of file watchers reached, watch` | ||
|
||
Linux uses [inotify](https://en.wikipedia.org/wiki/Inotify) to monitor file changes. | ||
This error is due to the file watchers being reached. | ||
|
||
In most cases, restarting the dev-server will fix this issue. | ||
|
||
If you want a permanent solution, you can increase the maximum number of file watchers. | ||
|
||
```sh | ||
# check current number | ||
$ cat /proc/sys/fs/inotify/max_user_watches | ||
|
||
# set a greater value | ||
$ echo fs.inotify.max_user_watches=<increased-value> | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
``` |