Skip to content

[BUG] server.js and client.js missing after hotreloading the ui. #16

Closed

Description

@Floriian

Bug Description

When developing UI with React it deletes the server.js and client.js file after modifying the ui.

To Reproduce

Steps to reproduce the behavior:

  1. Run command 'opencore dev / npm run dev'
  2. Install @vitejs/plugin-react, react, react-dom
  3. Make a simple React UI
  4. Edit the .tsx file, and you will see client.js and server.js disappear

Expected Behavior

client.js and server.js dont disappear

Environment

  • OS: Welcome to Ubuntu 26.04 LTS (GNU/Linux 6.6.114.1-microsoft-standard-WSL2 x86_64)
  • OpenCore CLI Version: v1.4.1
  • Node.js Version: v26.1.0
  • pnpm Version: -
  • npm Version: 11.13.0

Error Output

Additional Context

I can provide a simple repo in 1-2 days.

Activity

  1. Ivanruii commented on Jun 17, 2026

    @Ivanruii
    Member

    Hi! I tried to reproduce the error but couldn't. I'll be waiting for you to upload the sample repo.

  2. self-assigned this
    on Jun 17, 2026
  3. Ivanruii commented on Jun 17, 2026

    @Ivanruii
    Member

    I've already fixed the bug. Thanks for the feedback. It will be included in the next CLI update, 1.5.0.

  4. added a commit that references this issue on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions