evolit 0.1.0-alpha.4 → 0.1.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evolit",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.5",
4
4
  "description": "A convention-driven application framework for LitSX and web components.",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@4.10.3",
package/src/server.js CHANGED
@@ -205,7 +205,7 @@ async function createServer(projectRoot, mode, explicitPort, options = {}) {
205
205
  });
206
206
  res.write("retry: 1000\\n\\n");
207
207
  liveReloadConnections.add(res);
208
- req.on("close", () => {
208
+ res.on("close", () => {
209
209
  liveReloadConnections.delete(res);
210
210
  });
211
211
  return;