You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing a website with Viceroy, my current process is
run fastly compute serve --watch --watch-dir=src
edit a file in src
Viceroy automatically rebuilds the service
watch the logs for approximately 3 seconds until the HTTP server comes back up
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.
Until this, a workaround is to watch the files outsidefastly compute serve, then restart fastly compute serve (without --watch), poll the HTTP server until it responds, then send the live-reload and/or HMR notifications to the browser.
When developing a website with Viceroy, my current process is
fastly compute serve --watch --watch-dir=src
src
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
The text was updated successfully, but these errors were encountered: