Repository navigation
This patch changes solution watch rebuilds, watch-mode GC and memory defaults, and solution build scheduling. It also adds transformer phase timings to --verbose output and changes several error messages.
🚀 Added
- rotor build: With
--verbose, transformer worker phases now print with their durations in ms: config, program, factories, transform (includes parent repair), parent repair, and print/trace map. Previously these phases were not reported. - by @christopher-buss in #133
🐞 Fixed
- rotor build: Solution watch (
rotor build --build -w) now rebuilds only the changed source after a comment-only edit in a referenced project, and still rebuilds dependents when a declaration changes. Previously every dependent recompiled, and a referenced project's output could trigger a second build cycle. - by @christopher-buss in #130
🔧 Changed
- rotor build:
rotor build -w,rotor check -w, androtor devnow default toGOGC=100and a soft Go memory limit capped at 6 GiB, unlessGOGCorGOMEMLIMITis set. Previously they usedGOGC=400and a soft limit of 75% of effective memory, capped at 16 GiB. - by @christopher-buss in #131 - rotor build: Declaration files now emit concurrently per checker group, and overlap the transformer sidecar round trip when one runs. Previously each checker group emitted serially after the transformer finished. - by @howmanysmall in #127
- rotor build: In a solution build with
--builders N, a project waiting on a dependency no longer occupies one of the N workers, so independent projects start while it waits. Previously a blocked project held its worker until the dependency finished. - by @christopher-buss in #133 - tsconfig.json:
rbxtsoption errors now begin withinvalid "rbxts" config in, and tsconfig parse failures begin withfailed to parse tsconfig at. Previously both began with a capital letter,InvalidandFailed. - by @howmanysmall in #132 - rotor migrate: Its missing-config and overwrite errors no longer end in a period, such as
re-run with --force to replace it. Previously they ended withreplace it.- by @howmanysmall in #132
Full Changelog: v2.8.2...v2.8.3