build/client-watch: Watch for changes to the rollup config file

This commit is contained in:
Starbeamrainbowlabs 2019-07-23 15:53:56 +01:00
parent 61edaf6fa3
commit 698e02ff52

2
build
View file

@ -150,7 +150,7 @@ task_client-watch() {
while :; do # : = infinite loop while :; do # : = infinite loop
# Wait for an update # Wait for an update
# inotifywait's non-0 exit code forces an exit for some reason :-/ # inotifywait's non-0 exit code forces an exit for some reason :-/
inotifywait -qr --event modify --format '%:e %f' client_src; inotifywait -qr --event modify --format '%:e %f' client_src rollup.config.js;
# Rebuild the client code - spawn a sub-process to avoid the hard exit # Rebuild the client code - spawn a sub-process to avoid the hard exit
# This still doesn't work though, which is *really* annoying # This still doesn't work though, which is *really* annoying