Add timeout to task-monitor inotify waiting

This commit is contained in:
Talia 2021-02-18 13:24:42 +01:00
parent 3647b40e8d
commit 55218fd4a6
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
clear
task
while
sleep 1 && inotifywait $HOME/.task/backlog.data -e CLOSE_WRITE > /dev/null 2>&1
sleep 1 && inotifywait -t 60 $HOME/.task/backlog.data -e CLOSE_WRITE > /dev/null 2>&1 || true
do
clear
task