eventsource
eventsource copied to clipboard
confused about how this library is loaded , trying to get eventSourceInitDict to work....
SO, tried setting eventSourceInitDict as per readme, and no effect, tried debugging to see how far its getting or not, but find no evidence of it. Further more even renaming lib/eventsource.js or putting a return in function EventSource() has no effect and examples still work and i cant see how im assuming your library/src file is loaded ??
so to get this library used you need
const eventsource = require('eventsource')
at the top of the sse-server.js example