mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #13128 from dannycolin/inotify-watch-limit
Add instruction to resolve the inotify watch limit issue
This commit is contained in:
commit
1a4fe2ac3b
18
README.md
18
README.md
@ -288,6 +288,7 @@ yarn install
|
|||||||
yarn start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Wait a few seconds for the initial build to finish; you should see something like:
|
Wait a few seconds for the initial build to finish; you should see something like:
|
||||||
```
|
```
|
||||||
Hash: b0af76309dd56d7275c8
|
Hash: b0af76309dd56d7275c8
|
||||||
@ -309,6 +310,23 @@ modifying it. See the [configuration docs](docs/config.md) for details.
|
|||||||
|
|
||||||
Open http://127.0.0.1:8080/ in your browser to see your newly built Riot.
|
Open http://127.0.0.1:8080/ in your browser to see your newly built Riot.
|
||||||
|
|
||||||
|
**Note**: The build script uses inotify by default on Linux to monitor directories
|
||||||
|
for changes. If the inotify watch limit is too low your build will silently fail.
|
||||||
|
To avoid this issue, we recommend a limit of at least 128M.
|
||||||
|
|
||||||
|
To set a new inotify watch limit, execute:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo sysctl fs.inotify.max_user_watches=131072
|
||||||
|
$ sudo sysctl -p
|
||||||
|
```
|
||||||
|
|
||||||
|
If you wish, you can make this new limit permanent, by executing:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
|
||||||
|
$ sudo sysctl -p
|
||||||
|
```
|
||||||
___
|
___
|
||||||
|
|
||||||
When you make changes to `matrix-react-sdk` or `matrix-js-sdk` they should be
|
When you make changes to `matrix-react-sdk` or `matrix-js-sdk` they should be
|
||||||
|
Loading…
Reference in New Issue
Block a user