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: directory switching logic #1132

Merged
merged 1 commit into from
Feb 15, 2024
Merged

fix: directory switching logic #1132

merged 1 commit into from
Feb 15, 2024

Conversation

Integralist
Copy link
Collaborator

Problem

The CLI would incorrectly attempt to change the directory multiple times when the --dir flag was set.

Solution

I had to reorder the logic in the composite commands (serve, publish), and also add a field that the composites could set to inform the build command to skip changing directory (as they call down to build, where as build can also be called directly).

@Integralist Integralist added the bug Something isn't working label Feb 15, 2024
@Integralist Integralist merged commit 8357763 into main Feb 15, 2024
6 checks passed
@Integralist Integralist deleted the integralist/fix-watch branch February 15, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant