Skip to content

HMR failes to reload when running on Expo Go mobile #587

@saent-x

Description

@saent-x

Current Behavior

When running on Expo Go mobile, the HMR picks a few changes and closes connection when theres a syntax error.

Expected Behavior

The HMR should respond to file changes and not terminate the one dev process

One Version

1.1.506

Platform (Web, iOS, Android)

iOS

Reproduction

1. Create a new project using `bunx one`
2. Select Minimal TamaGUI template
3. Run `bun install`
4. Run `bun run dev`
5. Enter qr to open expo go on mobile
6. start to make changes to codebase
7. after a few seconds the process in the terminal terminates

System Info

System:
    OS: macOS 26.0
    CPU: (12) arm64 Apple M4 Pro
    Memory: 88.77 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
    pnpm: 10.7.1 - ~/.bun/bin/pnpm
    bun: 1.2.17 - ~/.bun/bin/bun
  Browsers:
    Safari: 26.0
  npmPackages:
    @biomejs/biome: 1.9.4 => 1.9.4 
    @react-native-community/cli: 19.0.0 => 19.0.0 
    @tamagui/animations-css: ^1.132.9 => 1.132.11 
    @tamagui/animations-moti: ^1.132.9 => 1.132.11 
    @tamagui/colors: ^1.132.9 => 1.132.11 
    @tamagui/config: ^1.132.9 => 1.132.11 
    @tamagui/image-next: ^1.132.9 => 1.132.11 
    @tamagui/lucide-icons: ^1.132.9 => 1.132.11 
    @tamagui/react-native-media-driver: ^1.132.9 => 1.132.11 
    @tamagui/shorthands: ^1.132.9 => 1.132.11 
    @tamagui/vite-plugin: ^1.132.9 => 1.132.11 
    @types/react: ^18.3.11 => 18.3.23 
    @vxrn/color-scheme: 1.1.506 => 1.1.506 
    expo: ^53.0.4 => 53.0.20 
    expo-linear-gradient: ^14.1.5 => 14.1.5 
    expo-modules-core: 2.3.13 => 2.3.13 
    one: 1.1.506 => 1.1.506 
    react: ~19.0.0 => 19.0.0 
    react-dom: ~19.0.0 => 19.0.0 
    react-native: ~0.79.2 => 0.79.5 
    react-native-reanimated: ^3.18.0 => 3.18.0 
    react-native-safe-area-context: 5.4.1 => 5.4.1 
    react-native-screens: 4.10.0 => 4.10.0 
    react-native-svg: 15.12.0 => 15.12.0 
    react-native-web: ~0.20.0 => 0.20.0 
    tamagui: ^1.132.9 => 1.132.11 
    typescript: ^5.7.3 => 5.8.3 
    vite: ^7.0.1 => 7.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions