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

Watch mode only watches sources from last configuration file when passing multiple paths to configuration files using --config command line options #1277

Open
fvazquez-travelperk opened this issue Feb 26, 2024 · 0 comments

Comments

@fvazquez-travelperk
Copy link

Documentation states that passing multiple paths and adding multiple configurations inside the same file are equivalent. But in the first case, if sourcery is invoked with --watch, only the source files defined inside the last processed file are actually watched.
That forces us to merge all configuration keys from several files into a single file before invoking sourcery as a workaround.

If multiple --config flags are not intended to work with --watch I think the documentation should reflect that.

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

No branches or pull requests

1 participant