-
-
Notifications
You must be signed in to change notification settings - Fork 793
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
Call a script on exit #1780
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using side services through docker that I run before launching
serverless offline
, however for my colleagues I inline it withdocker-compose up -d && serverless offline
. Issue is, I would like todocker-compose down
whenserverless offline
is stopped. It looks like the--exec
option is not handled anymore. I've also tried usingtrap 'command' EXIT & serverless offline
butcommand
is then executed at the beginning as serverless offline already works around it. Any idea how to do it?The text was updated successfully, but these errors were encountered: