Closed ps2-controller closed 2 months ago
Additional experimentation indicates that this may be related to serverless-webpack plugin, not serverless offline. I've updated the sample repo.
I'm not 100% sure which of the two libraries is the real root cause, but happy to close this issue on request.
I've left a note on an issue in serverless-webpack as well, which is possibly a more relevant place, but that issue has been open since 2020 with an awaiting reply
tag since 2022
https://github.com/serverless-heaven/serverless-webpack/issues/566#issuecomment-2096726107
At this stage, I've confirmed that the issue is with serverless-webpack. serverless-offline is working as expected. Closing the issue unless something new comes up.
Bug Report
Current Behavior
Serverless offline hot reload is
Sample Code
Here's a repository with a minimum viable example to recreate the issue. The README has instructions to reproduce the issue. (https://github.com/ps2-controller/serverless-offline-issue)
Expected behavior/code
Environment
node.js
version: [v19.3.0]OS
: [macOS Monterey 12.6]"serverless-webpack": "^5.13.0"
Additional context/Screenshots Using serverless-webpack and typescript