Actually, now that I set up my own auto restart, the pm2 one or whatever was doing it to start with has started working again.
So now the question is - how do I disable the preconfigured built-in auto restart?
Actually, now that I set up my own auto restart, the pm2 one or whatever was doing it to start with has started working again.
So now the question is - how do I disable the preconfigured built-in auto restart?
What I have done to resolve this is installed the inotify-tools package and then setup a systemd service using the inotifywait command. This watches the config dir and on change triggers a “pm2 restart MagicMirror” command
That probably explains it - a bug - it was strange how it suddenly just stopped working
@mjurgens said in Auto Reload on Config File Change:
automatic script from sdetweil
I believe so. I think your script sets that up
On a fresh Raspbian install I load MagicMirror using the automatic script from sdetweil. It all works. One thing I noticed that was whenever I made a change to the config file, it automatically reloaded the config. This was great when I was playing around and constantly changing the config.
I installed a few modules and made config changes.
Then all of a sudden the changes to the config file stopped reloading automatically. I hadn’t even rebooted yet.
I even deleted the MagicMirror and reinstalled but still no auto reload on config file change.
How do you set that up again?