@jsenv/core 23.11.0 → 23.11.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "23.11.0",
3
+ "version": "23.11.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -240,13 +240,14 @@ export const startCompileServer = async ({
240
240
  trackMainAndDependencies: sseSetup.trackMainAndDependencies,
241
241
  })
242
242
  customServices = {
243
- "service:sse": serveSSEForLivereload,
244
243
  ...customServices,
244
+ "service:sse": serveSSEForLivereload,
245
245
  }
246
246
  } else {
247
247
  const roomWhenLivereloadIsDisabled = createSSERoom()
248
248
  roomWhenLivereloadIsDisabled.open()
249
249
  customServices = {
250
+ ...customServices,
250
251
  "service:sse": (request) => {
251
252
  const { accept } = request.headers
252
253
  if (!accept || !accept.includes("text/event-stream")) {
@@ -254,7 +255,6 @@ export const startCompileServer = async ({
254
255
  }
255
256
  return roomWhenLivereloadIsDisabled.join(request)
256
257
  },
257
- ...customServices,
258
258
  }
259
259
  }
260
260