Issues with pnpm dev on local environment

Having some issues when I run pnpm dev in my local setup

  • Saving frontend TS files does not trigger a reload.
  • About half the time the site on port 5678 is not being activated at all. it does work when I run pnpm build and pnpm start.
  • sometimes I’m also getting the following error:
n8n-editor-ui:dev: error when starting dev server:
n8n-editor-ui:dev: Error: listen EACCES: permission denied 0.0.0.0:8080
n8n-editor-ui:dev:     at Server.setupListenHandle [as _listen2] (node:net:1918:21)
n8n-editor-ui:dev:     at listenInCluster (node:net:1997:12)
n8n-editor-ui:dev:     at node:net:2206:7
n8n-editor-ui:dev:     at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
n8n-editor-ui:dev:  ELIFECYCLE  Command failed with exit code 1.
n8n-editor-ui:dev:  ELIFECYCLE  Command failed with exit code 1.
n8n-editor-ui:dev: ERROR: command finished with error: command (C:\Dev\n8n\packages\frontend\editor-ui) C:\Users\<MyName>\AppData\Local\pnpm\.tools\pnpm\10.12.1\bin\pnpm.CMD run dev exited (1)

Environment: n8n 1.100.0, Node 22.2.0, pnpm 10.3.0, Windows 11

How can I enable reliable hot reload?