File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,11 @@ javascript snippet to your `forest.xsl` template:
4141<script >
4242 const evtSource = new EventSource (" reload" );
4343 evtSource .onmessage = (event ) => {
44- location .reload ();
44+ if (event .data == " reload" ) {
45+ location .reload ();
46+ } else {
47+ console .log (event .data );
48+ }
4549 };
4650 </script >
4751```
@@ -54,6 +58,10 @@ It is now possible to specify a tree directory using the `--dir` flag, but
5458the application still runs ` forester ` in the directory that ` forest-server ` is called in, so
5559it panics when there is no ` theme ` directory present.
5660
61+ ### TODO
62+
63+ - Add a nice overlay to the UI like in vite.
64+
5765## Configuration:
5866
5967Configuration options will be available through command-line flags. Detailed configuration information will be added soon.
You can’t perform that action at this time.
0 commit comments