Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd lifecycle hook for serverless offline start #131
Conversation
This comment has been minimized.
This comment has been minimized.
Event on serverless-dynamodb-local: https://github.com/99xt/serverless-dynamodb-local/blob/v1/index.js#L94 Pull request on documentation of serverless-dynamodb-local: 99xt/serverless-dynamodb-local#105 Pull request on documentation of serverless-offline: dherault/serverless-offline#253 Pull request on serverless-webpack documentation: #132 |
added a commit
to Gregoirevda/serverless-dynamodb-local
that referenced
this pull request
Jun 9, 2017
Gregoirevda
referenced this pull request
Jun 9, 2017
Merged
How to work with a full stack plugins #105
added a commit
to Gregoirevda/serverless-offline
that referenced
this pull request
Jun 9, 2017
added a commit
to Gregoirevda/serverless-webpack
that referenced
this pull request
Jun 9, 2017
This comment has been minimized.
This comment has been minimized.
jerep6
commented
Jun 18, 2017
+1 Duplicate but more complete than the PR #105 |
HyperBrain
added
the
pr/candidate
label
Jul 1, 2017
Jul 1, 2017
This was referenced
This comment has been minimized.
This comment has been minimized.
I will test this locally with one of our projects (that is invoked with |
This comment has been minimized.
This comment has been minimized.
Tested -> works without specifying |
Gregoirevda commentedJun 9, 2017
Serverless offline has 2 root commands to start :
serverless offline
which triggersoffline:start
life cycle hook (This is working)serverless offline start
which triggersoffline:start:init
andoffline: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