mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
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.
26 lines
677 B
TOML
26 lines
677 B
TOML
[package]
|
|
name = "memofs"
|
|
description = "Virtual filesystem with configurable backends."
|
|
version = "0.3.1"
|
|
authors = [
|
|
"Lucien Greathouse <me@lpghatguy.com>",
|
|
"Micah Reid <git@dekkonot.com>",
|
|
"Ken Loeffler <kenloef@gmail.com>",
|
|
]
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
homepage = "https://github.com/UserGeneratedLLC/rojo/tree/master/memofs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
crossbeam-channel = "0.5.15"
|
|
fs-err = "3"
|
|
log = "0.4"
|
|
notify = "8.2"
|
|
notify-debouncer-mini = "0.7"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.26.0"
|