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
I had some weird behavior with the new context() API when using watch() and serve() and without defining servedir.
Although this happened by mistake it still caused quite the confusion.
It seems to do the right thing and serves the files. It also correctly watches the files and rebuilds them. However, it does not send the server event to trigger a live reload when using:
Hi :)
I had some weird behavior with the new
context()
API when usingwatch()
andserve()
and without definingservedir
.Although this happened by mistake it still caused quite the confusion.
Consider:
It seems to do the right thing and serves the files. It also correctly watches the files and rebuilds them. However, it does not send the server event to trigger a live reload when using:
If
servedir
is set to./dist
everything works as expected and the server event is sent.The text was updated successfully, but these errors were encountered: