This module contains code for Quarkdown's local webserver, which enables automatic browser reload according to this flow:
- The server starts;
- When the address is opened in the browser,
the injected
websockets.jsscript begins listening to/reloadfor messages. - The CLI, upon generating output files, sends a message via websockets to
/reload; - The server forwards this message to the listening clients (browsers);
- Each client reloads its content as soon as it receives the message.