Skip to content

Commit

Permalink
add note about watchfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbreckenridge committed Oct 3, 2023
1 parent 7ef76c2 commit fc4081f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ watchfiles mpv_signal_daemon '/tmp/mpvsockets/'

Whenever watchfiles sees a file added/modified/deleted, it sends a signal to the daemon, to recheck if there are new sockets to process.

Note: you don't have to use watchfiles, you're free to send the signal the daemon in whatever way works for you.

I personally run this with `--scan-time 30` and `watchfiles`. `watchfiles` will typically pick up all changes, but the poll is there just in case it fails or misses something

#### custom SocketData class
Expand Down

0 comments on commit fc4081f

Please sign in to comment.