Skip to content

Conversation

Kn4ughty
Copy link

Description

Disables the eww server from hot reloading with the flag --no-hot-reload.
If the flag is set, the filewatch_join_handle is set to a nop.

Usage

eww daemon --no-hot-reload

Closes #1300

Additional Notes

The initialize_server function now has 2 options being passed to it. Maybe the whole opts module should be passed instead. Lmk if I should implement that.

Checklist

  • All widgets I've added are correctly documented.
  • I added my changes to CHANGELOG.md, if appropriate.
  • The documentation in the docs/content/main directory has been adjusted to reflect my changes.
  • I used cargo fmt to automatically format all code before committing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Disable hot reload
1 participant