DioxusLabs / DioxusLabs/dioxus

Restarting a hot patched app does not compile the latest changes.

Open
#4,671 0 comments 0 reactions 0 assignees View on GitHub
bug subsecond
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

Restarting a hot-patched app runs the app as it was when the `dx serve --hot-patch` command was started, until triggering a hot-patch.
This was quite confusing since the console reports that a full rebuild is being done:

Image

**Steps To Reproduce**

Steps to reproduce the behavior:

- `dx serve --hot-patch`
- Make some change to the code.
- Press `r` or `o` to restart or open the app.

**Expected behavior**

The app launches with the latest code changes compiled.

**Environment:**

- Dioxus version: 0.7.0-rc.0
- Rust version: 1.90
- OS info: Fedora Linux 41
- App platform: desktop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.