cloudflare / cloudflare/serverless-cloudflare-workers

Lifecycle events?

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
180
Forks
34
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.