-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverless offline does not track hot reload changes #62
Comments
This is not really a bug with package but rather the problem with |
Well, my project where I use aws-lambda-graphql has the same problem with serverless-webpack, however without aws-lambda-graphql hot reload works just fine |
Does your project work correctly if you instantiate some class in a module scope the same way as Isn't this somehow related to this that everything is being invalidated except the handler file? |
Isn't it the same as instantiating |
You are right it is the same. But the problem is weird because Server just extends the Apollo one. Is this problem related to both HTTP and WebSocket handlers? Because HTTP handler is processed using Apollo's handler and websocket is custom. |
Only websocket part is affected. |
Well, seems like it is the problem of serverless-offline plugin |
Thank you for the investigation 👍 |
Steps to reproduce:
Expected behavior:
'test' will be output in sls console when client reconnects
Actual behavior:
nothing is output to console and no changes to the code affect running application.
If you stop serverless offline and restart changes to the code will take effect.
version: 1.0.0-alpha.1
The text was updated successfully, but these errors were encountered: