We are using serverless-plugin-typescript plugin and we have a Lambda function running once a minute. Each time the function executes, it looks like serverless.yml file is being parsed (since I see my typical warnings about serverless.yml file on each execution) and TypeScript is being recompiled causing some serious delays and resulting with high CPU usage most of the time - by the time one execution completes compiling and executing, the next execution needs to run.
I'm not sure if Serverless framework allows for that but ideally the plugin would reuse already parsed serverless.yml configuration from when severless offline was executed and it would reuse already compiled TypeScript files. This might be related to #34.
We are using
serverless-plugin-typescript
plugin and we have a Lambda function running once a minute. Each time the function executes, it looks like serverless.yml file is being parsed (since I see my typical warnings about serverless.yml file on each execution) and TypeScript is being recompiled causing some serious delays and resulting with high CPU usage most of the time - by the time one execution completes compiling and executing, the next execution needs to run.I'm not sure if Serverless framework allows for that but ideally the plugin would reuse already parsed serverless.yml configuration from when
severless offline
was executed and it would reuse already compiled TypeScript files. This might be related to #34.