Remove onDemandEntries WebSocket server in favor of EventSource connection (#6354)
After talking with @timneutkens it was decided it'd be more streamlined to replace the onDemandEntries WebSocket with an alternative. Using the EventSource connection gives us these benefits over the WebSocket one: - less code needed - no extra server running - no extra config for onDemandEntries
Showing
| ... | ... | @@ -60,6 +60,7 @@ |
| "@zeit/next-css": "1.0.2-canary.2", | ||
| "@zeit/next-sass": "1.0.2-canary.2", | ||
| "@zeit/next-typescript": "1.1.2-canary.0", | ||
| "abort-controller": "2.0.2", | ||
| "amphtml-validator": "1.0.23", | ||
| "babel-core": "7.0.0-bridge.0", | ||
| "babel-eslint": "9.0.0", | ||
| ... | ... | @@ -79,7 +80,7 @@ |
| "lerna": "^3.4.0", | ||
| "lint-staged": "4.2.3", | ||
| "mkdirp": "0.5.1", | ||
| "node-fetch": "1.7.3", | ||
| "node-fetch": "2.3.0", | ||
| "node-notifier": "5.1.2", | ||
| "node-sass": "4.9.2", | ||
| "pre-commit": "1.2.2", | ||
| ... | ... |
Please
register
or
sign in
to comment