fix(scripts): vendor files causing reloads
Ignore the `vendor` directory and some others as it was causing the script to reload when it wasn't expected. Whilst I'd expect it to be ignored if I specified the path to look at as something like `web/modules/custom`, but it still seems to trigger the command and it seems a lot more stable since adding this.
This commit is contained in:
parent
5b34d6d724
commit
5763900b5f
|
@ -11,6 +11,7 @@ while true; do
|
||||||
inotifywait \
|
inotifywait \
|
||||||
--event modify \
|
--event modify \
|
||||||
--event move_self \
|
--event move_self \
|
||||||
|
--exclude ".git|simpletest|vendor" \
|
||||||
--recursive \
|
--recursive \
|
||||||
$1 && $2
|
$1 && $2
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue