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
|
clear
|
||||||
task
|
task
|
||||||
while
|
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
|
do
|
||||||
clear
|
clear
|
||||||
task
|
task
|
||||||
|
|
Loading…
Reference in a new issue