Skip to content

feat: watch mode now monitors included config files#579

Merged
sinaatalay merged 5 commits into
rendercv:mainfrom
majiayu000:fix/issue-552-watch-included-files
Feb 16, 2026
Merged

feat: watch mode now monitors included config files#579
sinaatalay merged 5 commits into
rendercv:mainfrom
majiayu000:fix/issue-552-watch-included-files

Conversation

@majiayu000
Copy link
Copy Markdown
Contributor

Summary

  • Watch mode now monitors included configuration files (--design, --locale-catalog, --settings)
  • Changes to any watched file trigger a re-render

Changes

  • Modified run_function_if_file_changes() to accept multiple file paths
  • Updated cli_command_render() to pass all config files to the watcher
  • Added test to verify config files are included in watch list

Example

rendercv render cv.yaml --design design.yaml --watch
# Now changes to either cv.yaml OR design.yaml will trigger re-render

Fixes #552

Watch mode (--watch/-w) now monitors changes to included configuration
files specified via --design, --locale-catalog, and --settings options.

Previously, watch mode only monitored the main input file. Now when
using separate config files for design/locale/settings, changes to
any of these files will trigger a re-render.

Fixes rendercv#552
@sinaatalay sinaatalay force-pushed the fix/issue-552-watch-included-files branch from ac218a3 to cd145b5 Compare February 16, 2026 18:05
@sinaatalay sinaatalay force-pushed the fix/issue-552-watch-included-files branch from cd145b5 to f54a8cc Compare February 16, 2026 18:08
@sinaatalay
Copy link
Copy Markdown
Member

Thank you!

@sinaatalay sinaatalay merged commit 18485d7 into rendercv:main Feb 16, 2026
10 checks passed
yafei-ou pushed a commit to yafei-ou/rendercv that referenced this pull request Feb 27, 2026
* feat: watch mode now monitors included config files

Watch mode (--watch/-w) now monitors changes to included configuration
files specified via --design, --locale-catalog, and --settings options.

Previously, watch mode only monitored the main input file. Now when
using separate config files for design/locale/settings, changes to
any of these files will trigger a re-render.

Fixes rendercv#552

* Improve implementation

* Update testdata

* Fix pre-commit errors

* Update testdata

---------

Co-authored-by: Sina Atalay <[email protected]>
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.

Watch mode should watch for changes in included files

2 participants