Skip to content

Commit ae091ad

Browse files
committed
Add technical details to README
1 parent ed67b50 commit ae091ad

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,30 @@ Running `./dev` uses the tutorial that was imported and cached by the previous c
124124
It does not "watch" tutorial text, but it reloads the server after code changes.
125125
126126
Again, that's for developing the server code itself, not writing the tutorial.
127-
127+
128+
# The technical details
129+
130+
## For Linux users
131+
132+
The server's tools use [inotify](https://en.wikipedia.org/wiki/Inotify) by default on Linux to monitor directories for changes. In some cases there may be too many items to monitor.
133+
134+
You can get your current inotify files watch limit by:
135+
136+
```sh
137+
$> cat /proc/sys/fs/inotify/max_user_watches
138+
```
139+
140+
When this limit is not enough to monitor all files, you have to increase the limit for the server to work properly.
141+
142+
You can set a new limit temporary by:
143+
144+
```sh
145+
$> sudo sysctl fs.inotify.max_user_watches=524288
146+
$> sudo sysctl -p
147+
```
148+
149+
It is very important that you refer to the documentation for your operating system to change this parameter permanently.
150+
128151
# Troubleshooting
129152

130153
If you have a very old copy of the English tutorial, please rename `1-js/05-data-types/09-destructuring-assignment/1-destructuring-assignment` to `1-js/05-data-types/09-destructuring-assignment/1-destruct-user`.

0 commit comments

Comments
 (0)