Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lifecycle hook for serverless offline start
Serverless offline has 2 root commands to start : - `serverless offline` which triggers `offline:start` life cycle hook (This is working) - `serverless offline start` which triggers `offline:start:init` and `offline:start:end` life cycle hooks (This is NOT working) The second one is important, because it has an event on start up and on end. If you want to work with serverless-offline, serverless-webpack and serverless-dynamodb-local. You need to call `sls offline start` which will also stop the db and stop serverless offline
- Loading branch information