Skip to content

Commit

Permalink
fix filesystem event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
maxihafer committed Feb 3, 2024
1 parent c6528a5 commit b00f472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/gosynchro.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ stream.addEventListener("gosynchro/reload", (event) => {

stream.addEventListener("gosynchro/filesystem", (event) => {
console.log(`received filesystem event: ${JSON.stringify(event.data)}`);
window.location.reload();
});

0 comments on commit b00f472

Please sign in to comment.