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

fix: allow using --stop with --background to restart #994

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

wesbillman
Copy link
Collaborator

@wesbillman wesbillman commented Feb 27, 2024

Makes things easier for CI/testing so you don't have to check if the server is running before backgrounding each time.

ftl serve --recreate --stop --background && ftl deploy examples/go/time && ftl ps

info: `ftl serve` running in background with pid: 64997
info:time: Building module
info: Preparing module 'time' for deployment
info: Successfully created deployment time-af8f00d2bf
DEPLOYMENT                     REPLICAS
time-af8f00d2bf                1/1

@wesbillman wesbillman merged commit d6d6f59 into main Feb 27, 2024
11 checks passed
@wesbillman wesbillman deleted the ftl-serve-stop-before-background branch February 27, 2024 17:01
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

Successfully merging this pull request may close these issues.

1 participant