You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose Rspack platform warmup for native run commands #1540
Rspack's lazy platform compilation defers work until a platform requests a bundle. A native CLI already knows the target while Xcode or Gradle is building, but can't ask Re.Pack to activate that compiler without sending a bundle request, and running the interactive server in the same process can take over its terminal.
Suggested solution
Let a CLI activate the existing Rspack watcher for the selected platform before the first client connects. Let the CLI defer keyboard handlers until it finishes the native build and launch. For a server that's already running, add a loopback-only request to activate the same watcher without transferring a bundle. Normal standalone startup should remain lazy.
Activity