mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
refactor: optimize file watching and sourcemap generation
- Enhanced performance by replacing kqueue with FSEvents on macOS and implementing a lazy watch setup. - Introduced platform-specific file watchers for improved event handling on macOS, Linux, and Windows. - Updated sourcemap generation to use a oneshot session for non-watch scenarios. - Cleaned up the ServeSession's init_tree function by removing the path_roots return value, streamlining the codebase.
This commit is contained in:
parent
34375d1339
commit
a901848861
4 changed files with 47 additions and 35 deletions
|
|
@ -31,7 +31,9 @@ Making a new release? Simply add the new header with the version and date undern
|
|||
|
||||
## Unreleased
|
||||
|
||||
* Add .gitignore for logs and refactor ServeSession to include path_roots in init_tree return
|
||||
* Optimize serve/sourcemap startup performance: replace kqueue with FSEvents on macOS, lazy watch setup, build RefPathIndex from patch entries instead of directory walk
|
||||
* Use platform-specific file watcher: raw notify + custom debounce on macOS, debouncer-full on Linux/Windows
|
||||
* Use oneshot session for non-watch sourcemap generation
|
||||
|
||||
## [8.5.6] (March 8th, 2026)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue