Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifecycle events? #29

Open
avidal opened this issue Mar 22, 2019 · 1 comment
Open

Lifecycle events? #29

avidal opened this issue Mar 22, 2019 · 1 comment

Comments

@avidal
Copy link

avidal commented Mar 22, 2019

Can the plugin be adjusted so that it emits proper life cycle events when making changes? For instance, if you want to do something after the worker is deployed, but before the routes are? Or after the KV namespaces are created?

The serverless docs are a bit sparse on writing plugins, but it looks like if you want to emit lifecycle events you have to define commands; but then you can hook into the normal deploy command to run the full suite.

@ghost
Copy link

ghost commented Mar 26, 2019

@Azworn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant