Skip to content

dx serve not watching sub-modules #5371

@drdozer

Description

@drdozer

Problem

I have a dioxus project with various modules in src, and then a sub-module for charting. Changes to source in the top-level files triggers dx serve to rebuild and launch the app. Changes to source in the nested folder does not.

Expected behavior

Changes to code in nested modules should trigger a rebuild and relaunch. It does not. Pressing r does a manual rebuild and relaunch, pulling in any changes in the nested module.

Environment:

  • Dioxus version: 0.7.3 (22b06ba)
  • Rust version: 1.96.0-nightly (80381278a 2026-03-01)
  • OS info: Devuan excalibur
  • App platform: linux

Questionnaire

I'm interested in fixing this myself but don't know where to start.

Metadata

Metadata

Assignees

No one assigned

    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