DioxusLabs / DioxusLabs/dioxus

`dx serve --hot-patch` not patching binary properly

Open
#4,890 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**

Serving app via `dx serve --hot-patch` binary still includes code that was recently removed.

**Steps To Reproduce**

Steps to reproduce the behaviour:

- Create new app with `dx new hot_dog` following the tutorial with `web` as default feature
- Serve app using `dx serve --hot-patch`
- Update code (removed logs)
- Stale logs in browser console and terminal. See screenshots.

Image

Image

**Expected behavior**

**Screenshots**

**Environment:**

- Dioxus version: 0.7
- Rust version: 1.91.0


- OS info: macOS
- App platform: web

**Questionnaire**

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.