You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,30 @@ Running `./dev` uses the tutorial that was imported and cached by the previous c
124
124
It does not "watch" tutorial text, but it reloads the server after code changes.
125
125
126
126
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
+
128
151
# Troubleshooting
129
152
130
153
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