rojo/src/cli
Joe 9cf4cea936 fix: optimize serve/sourcemap startup from >180s to ~8s
Root cause: notify-debouncer-full with macos_kqueue caused 25K+
directory watch registrations to take >170s on large projects.

Changes:
- Replace notify-debouncer-full with notify-debouncer-mini to avoid
  FSEvents Create+Remove event cancellation and heavy per-watch overhead
- Remove macos_kqueue feature; use FSEvents (matches upstream Rojo)
- Fix VFS read guard: watch_enabled && watch_recursive -> watch_enabled
  so recording mechanism works when watch_recursive is false
- Build RefPathIndex from patch_apply data instead of redundant 4.8s
  WalkDir + 5,854 file re-reads (populate_from_dir)
- Use ServeSession::new_oneshot() for sourcemap without --watch
- Restore simple synchronous watch setup (implicit during reads)

Serve: >180s (never completed) -> ~8s to Listening
Sourcemap: 14.3s -> ~9s
All 489 tests passing.
2026-03-12 18:02:45 -05:00
..
snapshots Improves sourcemap path handling with pathdiff 2026-02-09 23:31:44 -06:00
build.rs Enhance VFS initialization and error handling 2026-02-11 20:13:02 -06:00
clone.rs Enhance project cloning and initialization process 2026-03-06 22:49:32 -06:00
completions.rs Update dependencies and add CLI completions support 2026-03-01 07:14:55 -06:00
cursor.rs Add filter functionality to PatchVisualizer and ConfirmingPage 2026-02-02 15:34:08 -06:00
doc.rs Switch from structopt to clap 2022-05-26 04:19:51 -04:00
fmt_project.rs Refactor and rebrand Rojo to Atlas 2026-02-07 13:21:52 -06:00
init.rs Enhance project cloning and initialization process 2026-03-06 22:49:32 -06:00
mod.rs Enhance Roblox API integration and refactor CLI commands 2026-03-01 20:03:40 -06:00
plugin.rs Add plugin upload workflow and related enhancements 2026-02-19 06:12:03 -06:00
serve.rs refactor: update git index refresh to a no-op and change logging level to debug 2026-03-07 16:55:20 -06:00
sourcemap.rs fix: optimize serve/sourcemap startup from >180s to ~8s 2026-03-12 18:02:45 -05:00
studio.rs Enhance Roblox API integration and refactor CLI commands 2026-03-01 20:03:40 -06:00
syncback.rs refactor: update git index refresh to a no-op and change logging level to debug 2026-03-07 16:55:20 -06:00
upload.rs Enhance Roblox API integration and refactor CLI commands 2026-03-01 20:03:40 -06:00