@remotion/studio: Reload config changes in Studio#9024
Conversation
There was a problem hiding this comment.
test body
Kimi K2 (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
review body test
Kimi K2 (free via Pullfrog for OSS) | 𝕏
|
Important Two issues to address before merging: the reset defaults are duplicated from each option module and will drift, and a failed config reload currently resets live state before failing. Reviewed changes — Adds a file watcher for the loaded Remotion config file, resets all mutable config options to defaults before re-evaluating the config, and triggers a Studio page reload via a new
|
…eload-watch # Conflicts: # packages/browser-studio/src/BrowserStudio.tsx # packages/bundler/src/bundle.ts # packages/cli/src/studio.ts # packages/studio-server/src/test/file-source-route.test.ts # packages/studio-shared/src/studio-runtime-config.ts # packages/studio/src/components/GlobalKeybindings.tsx # packages/studio/src/helpers/show-browser-rendering.ts # packages/studio/src/helpers/studio-runtime-config.ts # packages/studio/src/helpers/use-menu-structure.tsx

Summary
Stack
@remotion/studio: Use runtime Studio config #9022.Test plan
bunx turbo run make --filter='@remotion/renderer' --filter='@remotion/studio-shared' --filter='@remotion/studio' --filter='@remotion/studio-server' --filter='@remotion/cli'bunx turbo run formatting --filter='@remotion/renderer' --filter='@remotion/studio-shared' --filter='@remotion/studio' --filter='@remotion/studio-server' --filter='@remotion/cli'bunx turbo run lint --filter='@remotion/renderer' --filter='@remotion/studio-shared' --filter='@remotion/studio' --filter='@remotion/studio-server' --filter='@remotion/cli'bun test packages/cli/src/test/config-reset.test.tsCloses #9011
Public dir hot-reload remains tracked separately in #9015.