serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
784 stars 224 forks source link

Fix resolution of `invoke local` related lifecycle hook #258

Closed medikoo closed 2 years ago

medikoo commented 2 years ago

Currently when invoke local is run with --watch option, command resolves instantly, signalling to the Framework that invocation ended, while watching remains to be in progress.

This patch ensures that the command doesn't resolve internally until the watch is either stopped manually or crashes