Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Fast Refresh is a React Native feature that lets you see code changes instantly without rebuilding your app. Fast Refresh works in both Vega Studio and Vega command-line interface (CLI) environments. Fast Refresh is automatic in Vega Studio (Debug mode) but requires manual setup with Vega CLI. Follow the instructions on this page.

Prerequisites

  1. Install the Vega SDK.
  2. Complete setup of either:

Connect your Vega Virtual Device to Metro Server

Have your app’s directory path ready:
  1. Open two terminal windows (A and B).
  2. Start the Vega Virtual Device in terminal A:
  3. Navigate to your app’s directory in terminal B:
  4. Install the dependencies:
  5. Build the app:
  6. Start the Metro Server in terminal B:
    The Metro Server loads dependencies and displays its logo. Screenshot of the Metro Server welcome message.
  7. Return to terminal A and start port forwarding:
  8. Run your app using the debug build:

Use a custom Metro Bundler port - Vega Virtual Device

Metro Bundler supports changing the default port.
  1. Start Metro on a custom port:
  2. Reverse-port-forward the custom port on the host:

End the Fast Refresh session - Vega Virtual Device

When you finish working on your app with Fast Refresh, you can:
  1. Close your app.
  2. Press Ctrl+C to stop the Metro Server.
  3. Stop port forwarding:
  4. Stop the Vega Virtual Device:

Troubleshooting

For setup issues, see Resolve Fast Refresh Issues. Build an app using the Vega CLI
Last modified on August 21, 2026