- Resolved inotify support for browsers

This commit is contained in:
Ben Reaves
2020-04-27 01:11:28 -05:00
parent cb6cf4f886
commit 496240dfe1
5 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
# >/dev/null 2>&1
/usr/local/bin/xkeysnail --quiet --watch "$1" &
inotifywait -m -e close_write,moved_to,create -q "$1" |
inotifywait -m -e close_write,moved_to,create,modify /tmp/kinto/xkeysnail |
while read -r path; do
/usr/bin/killall xkeysnail
/usr/local/bin/xkeysnail --quiet --watch "$1" &