-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Description
When I'm developing, I often need to expect some css etc, but trunk keeps reloading every minute or so without any change. I investigated, that reload is caused by this:
onclose() {
window.setTimeout(
() => {
// when we successfully reconnect, we'll force a
// reload (since we presumably lost connection to
// trunk due to it being killed, so it will have
// rebuilt on restart)
const ws = new WebSocket(this.url);
ws.onopen = () => window.location.reload();
ws.onclose = () => this.onclose();
},
this.poll_interval);
}Note, that my trunk is not restarted, it is running healthily. It is behind my local nginx socket though.
I am forced to constantly kill trunk myself when I want to do anything in the page inspector. It is impossible and frustrating.
Metadata
Metadata
Assignees
Labels
No labels