dherault / dherault/serverless-offline
Call a script on exit
Open
- Dominant language
- JavaScript
- Stars
- 5.3k
- Forks
- 811
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 3
Description
I'm using side services through docker that I run before launching `serverless offline`, however for my colleagues I inline it with `docker-compose up -d && serverless offline`. Issue is, I would like to `docker-compose down` when `serverless offline` is stopped. It looks like the `--exec` option is not handled anymore. I've also tried using `trap 'command' EXIT & serverless offline` but `command` is then executed at the beginning as serverless offline already works around it. Any idea how to do it?
Contributor guide
Assessment
This issue has not been assessed yet.