Skip to content

Only reload apps on actual config changes #2511

@GrootProgrammer

Description

@GrootProgrammer

Is there an existing feature request for this?

  • I have searched the existing issues

Your feature request

Currently when the config files do not change in any way but the timestamp gets updated, the apps will reload.
This makes it so that if your Appdaemon files are generated as part of your config in Nixos then all files are reloaded as the timestamp on every file will be the system reload time.

A way to fix this would be to still guard using the file mtime but also check a stored hash against the current hash for modifications, significantly reducing reloads for Nixos users.
It appears the change should be around here but I don't have enough experience with this project to perform it myself: file_check.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions