Created
May 29, 2020 21:58
-
-
Save andrewdc/7a2d0b4d3716fc0994ad6b62365b8e4a to your computer and use it in GitHub Desktop.
fixes Sapper Client connect(port) failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/sveltejs/sapper/issues/1151#issuecomment-612815571 | |
As mentioned above, going to node_modules/sapper/sapper-dev-client.js and changing | |
export function connect(port) { | |
if (source || !window.EventSource) return; | |
To | |
module.exports.connect = function connect(port) { | |
if (source || !window.EventSource) return; | |
Fixes the issue locally, live reload is working after that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment