Viceroy icon indicating copy to clipboard operation
Viceroy copied to clipboard

Notification when build completes

Open jamesarosen opened this issue 1 year ago • 1 comments

When developing a website with Viceroy, my current process is

  1. run fastly compute serve --watch --watch-dir=src
  2. edit a file in src
  3. Viceroy automatically rebuilds the service
  4. watch the logs for approximately 3 seconds until the HTTP server comes back up
  5. switch to my browser and refresh

I'd love to receive a notification (e.g. a UNIX signal, touching a file, executing a command, or running a JS/TS/RS/WASM function) when the compilation is done and the server is back up. That would allow me to implement live-reload or even hot module replacement.

Possibly related: #55

jamesarosen avatar May 12 '23 20:05 jamesarosen