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
Host shell commands (custom commands) should not auto-start a project #2688
Comments
You mentioned |
@rfay A little addition: "any command" triggers the "pre-start" hook. |
No, It's just a feature of script-based commands that they do the |
I mean each custom command triggering start/pre-start hook, even ddev is up and running. |
any news on that topic? I am also very interested in a solution. i want to use to generate ddev config upfront before starting the project and do some validation. |
I am working on this one |
Describe the bug
Custom shell commands currently start the project they're in if it's not already started. This makes sense for web commands, but not so much for host commands.
To Reproduce
With a project stopped, issue a command that is a host command. It will start the project.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
ddev version
)Additional context
Add any other context about the problem here. Thanks!
The text was updated successfully, but these errors were encountered: