v1.3.0
What's Changed
Refactoring
- Eliminate
--no-scope-shadowingin__autoreload_detect_changes— replaced implicit caller-scope coupling with explicit global variables__autoreload_last_changed/__autoreload_last_deleted - Extract
__autoreload_conf_files— deduplicated file enumeration logic shared between__autoreload_snapshotand__autoreload_detect_changes
Performance
- Cache conf.d directory mtime — skip new-file glob scan when the directory hasn't changed, reducing per-prompt overhead
Bug Fixes
- Preserve cleanup state on source failure — tracking data is no longer lost when a file fails to source, ensuring proper cleanup on subsequent re-source
Tests
- Replace fragile string replacement with direct setup — test initialization no longer depends on
string replacepatterns matching production code, improving test maintainability
Docs
- Updated cleanup overhead note in README
Full Changelog: v1.2.5...v1.3.0