anantab / serverless-plugin-ifelse

A Serverless Plugin to write If Else conditions in serverless YAML file
69 stars 21 forks source link

Fix offline hook to support dynamodb offline #3

Closed elad-haz closed 5 years ago

elad-haz commented 5 years ago

Hook "offline:start:init" run the pluging after dynamodb offline start. To handle it to work with dynamodb offline, we need it to run before dynamodb offline start. So, we change the hook to "before:offline:start:init"