esbuild-serve icon indicating copy to clipboard operation
esbuild-serve copied to clipboard

not working on ie11

Open lekoala opened this issue 4 years ago • 0 comments

I don't know if this is a goal or not, but i tried to use your plugin + the babel plugin in order to serve ie11 script (i know i know) but the live reload is using array notation

do you think you could replace it?

this works (provided that an eventsource polyfill is loaded beforehand, but that is easy with polyfill.io)

(function() { new EventSource('${eventSource}').onmessage = function() {location.reload();}})();

lekoala avatar Jul 05 '21 16:07 lekoala