#Disconnect from dev server?

1 messages · Page 1 of 1 (latest)

barren bison
#

Is there a way to disconnect? I want to test different styles, but if I change anything the dev server rehydrates all my open tabs.

solid yacht
#

Is disconnect different from shut down?

barren bison
#

I'm not sure what shutdown is actually ^^

#

Do you mean stopping the dev server?

#

I want the dev server to run since I'm opening new tabs and testing new styles

#

I just want the current tab to stop getting hydrated

earnest plinth
#

So you'd probably be looking at closing the vite ws connection on your tab. I don't think there's an easy way to do this but I found this after a minute of Googling, might be worth a try?

https://stackoverflow.com/a/76576840

barren bison
#

Ah, using network conditioning is very smart!

#

Thanks!

#

I wish the astro dev toolbar had a "pause updates" button.