diff options
author | Clément Brizard <clementbrizard53@gmail.com> | 2018-10-08 13:25:41 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-10-08 13:25:41 +0200 |
commit | 80c7336a896d9eb1e71b7c89a72285f914259457 (patch) | |
tree | 3571fed969817e34aafae638615a381a10226cca | |
parent | 54b3316099ed7d2dfcb6d708fdb686f1e125ce61 (diff) | |
download | PeerTube-80c7336a896d9eb1e71b7c89a72285f914259457.tar.gz PeerTube-80c7336a896d9eb1e71b7c89a72285f914259457.tar.zst PeerTube-80c7336a896d9eb1e71b7c89a72285f914259457.zip |
(doc) explain common watcher inotify error in CONTRIBUTING.md (#1223)
-rw-r--r-- | .github/CONTRIBUTING.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4b352922e..a25368cdb 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -122,6 +122,18 @@ and the web server is automatically restarted. | |||
122 | $ npm run dev | 122 | $ npm run dev |
123 | ``` | 123 | ``` |
124 | 124 | ||
125 | Depending on your OS, you may face the following error : | ||
126 | ``` | ||
127 | $ [nodemon] Internal watch failed: ENOSPC: no space left on device, watch '/PeerTube/dist' | ||
128 | ``` | ||
129 | |||
130 | This is due to your system's limit on the number of files you can monitor for live-checking changes. For example, Ubuntu uses inotify and this limit is set to 8192. Then you need to change this limit : | ||
131 | ``` | ||
132 | echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
133 | ``` | ||
134 | |||
135 | See more information here : https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers | ||
136 | |||
125 | ### Federation | 137 | ### Federation |
126 | 138 | ||
127 | Create a PostgreSQL user **with the same name as your username** in order to avoid using the *postgres* user. | 139 | Create a PostgreSQL user **with the same name as your username** in order to avoid using the *postgres* user. |