As best I can tell, the crashes are due to the file system being accessed by the website builder, while simultaneously being accessed by the web server.
This PR changes when the connected websites are told to refresh themselves. We now wait until all queued builds are done before notifying them.
If the user manually refreshes during a rebuild, we probably have the same issue, but that should be far less common.
This PR also loosens the dependency on pub_updater to any because static_shock also has a dependency on pub_updater and it's too easy to end up with conflicting versions.
Fix recurring dev server crashes (Resolves #76)
As best I can tell, the crashes are due to the file system being accessed by the website builder, while simultaneously being accessed by the web server.
This PR changes when the connected websites are told to refresh themselves. We now wait until all queued builds are done before notifying them.
If the user manually refreshes during a rebuild, we probably have the same issue, but that should be far less common.
This PR also loosens the dependency on
pub_updater
toany
becausestatic_shock
also has a dependency onpub_updater
and it's too easy to end up with conflicting versions.