This is a modified version of a small example taken from https://github.com/kljensen/node-sse-example.
To run the app with default template, you can do
node ./app.js
For a worker template:
node ./app.js worker
Modified version of node-sse-example taken from https://github.com/kljensen/node-sse-example
JavaScript
This is a modified version of a small example taken from https://github.com/kljensen/node-sse-example.
To run the app with default template, you can do
node ./app.js
For a worker template:
node ./app.js worker