Skip to content
Snippets Groups Projects
Commit 7b6cfc41 authored by Denis Vermylen's avatar Denis Vermylen
Browse files

[IMP] server.py: --dev=reload with inotify

Add the alternative of inotify instead of watchdog to watch the addons
paths the server was started with.

Reason: watchdog spawns 2 threads per path to watch. When there are a
lot of addons paths, this can become too costly. With inotify we watch
all the repositories in a single thread.

https://github.com/dsoprea/PyInotify

installation:

    pip install inotify
parent 83b2d2e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment