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

master
Starbeamrainbowlabs 3 years ago
parent 61edaf6fa3
commit 698e02ff52
  1. 2
      build

@ -150,7 +150,7 @@ task_client-watch() {
while :; do # : = infinite loop
# Wait for an update
# 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
# This still doesn't work though, which is *really* annoying

Loading…
Cancel
Save