Add timeout to task-monitor inotify waiting
This commit is contained in:
parent
3647b40e8d
commit
55218fd4a6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue