studio-config-option-lifecycle

Installation
SKILL.md

Studio Config Option Lifecycle

Make reload behavior explicit for every Studio-facing option. A config file is reset and re-executed when it changes, but a consumer only observes the new value if its code reads the option again.

Classify the whole option

Inspect every Studio consumer, then assign one lifecycle to the whole option:

  • Startup-fixed: Changing the value requires recreating a server, compiler, watcher, directory mapping, or other initialized resource.
  • Reloadable: Every Studio consumer can safely use the new value after the browser reload or at another deliberate request boundary.

If any consumer must be startup-fixed, make the option startup-fixed for all Studio consumers. Do not implement mixed lifecycle behavior.

Do not infer reloadability from Config.set*() state being updated. Config re-execution updates module state regardless of whether an already-created consumer observes it.

Wire startup-fixed values

Resolve the option once in packages/cli/src/studio.ts before calling startStudio():

Installs
97
GitHub Stars
55.4K
First Seen
Jul 20, 2026
studio-config-option-lifecycle — remotion-dev/remotion