build/client-watch: Watch for changes to the rollup config file
This commit is contained in:
parent
61edaf6fa3
commit
698e02ff52
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue