You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a syntax error when combined with serverless-offline with --reloadHandler flag we are experiencing incredibly high CPU and memory usage. Screenshot attached. The error log you see at the bottom of the issue happens several times a second in a loop.
Alright I think I know what is going on here. Sorry for the quick turnaround. I am guessing that somewhere in our file system some JS files are being compiled and because the default settings for watch.patterns is ./**/*.(js|ts) it is picking up the compiled JS files somewhere. After changing this to ./**/*.ts (we are entirely TS codebase) the issue stopped.
Describe the bug
When creating a syntax error when combined with
serverless-offline
with--reloadHandler
flag we are experiencing incredibly high CPU and memory usage. Screenshot attached. The error log you see at the bottom of the issue happens several times a second in a loop.Plugin configuration:
The text was updated successfully, but these errors were encountered: