{build,wasmserve}: use wasmserve, drop apple_pie

This commit is contained in:
Ali Chraghi 2022-09-14 18:41:40 +04:30 committed by Stephen Gutekanst
parent ebb4b9c2fe
commit 5be9f04d85
18 changed files with 747 additions and 133 deletions

View file

@ -0,0 +1,11 @@
let evtSource = new EventSource("/notify");
function setup() {
evtSource.addEventListener("message", function (e) {
if (e.data === "reload") {
window.location.reload();
}
});
}
export default setup;