hassio-addons / addon-appdaemon

AppDaemon4 - Home Assistant Community Add-ons
https://addons.community
MIT License
149 stars 46 forks source link

Restart Needed for App Changes to Work #260

Closed 11chrisadams11 closed 1 year ago

11chrisadams11 commented 1 year ago

Problem/Motivation

Recently (since a year or so), I have needed to restart AppDaemon to get the changes to show any time I edit an app script. Before, when I made a change, the app was reloaded and the changes would take affect.

Expected behavior

Make a change to a script and save. The script is reloaded, and starts performing the changes made.

Actual behavior

The script is reloaded, and it continues on as before the changes, until AppDaemon is restarted.

Steps to reproduce

  1. Create a script with a self.log('foo') in the init.
  2. Save
  3. Restart AppDaemon
  4. Script gets loaded and "foo" gets printed to the log
  5. Change the init to self.log('bar')
  6. Save
  7. Check log (Script gets reloaded and "foo" is still printed)

Proposed changes

I don't know if it was a change in AppDaemon, or if it is just an issue on my end, but something has changed and it is not working how it used to before.

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!