Read the statement by Michael Teeuw here.
newsfeed
-
related question: In the[recent] past my system has always restarted Magic Mirror when i commit a change to config.js using control-O, but lately it doesn’t and I have to manually restart MM. Is this expected behavior?
this is provided by PM2 file change detection… it is inconsistent, and I haven’t found any reason… for me it has NEVER worked on pi, or linux… but used to ALWAYS work on mac… (but now doesn’t as well) …
in my config to setup the MagicMirror app I use a json file that provides that configuration.
I don’t see any change in the pm2 doc for this
{ "apps" : [{ "name" : "MagicMirror", "script" : "/home/pi/MagicMirror/installers/mm.sh", "watch" : ["/home/pi/MagicMirror/config/config.js"] <----- I adjust this for user and path }] }
-
@JohnGalt remember he is running under lxc container
Proxmox/#magicmirror-server-lxcso the files are NOT in exactly the same place… (they are linked into the container is the same logical place)
Proxmox/#magicmirror-server-lxc
-
@sdetweil - Thanks for both the update on the pm2 restart and on the reminder that the OP’s system structure is different.
OK, back to newsfeed behavior…
-
@JohnGalt I think he might be editing the sample
-
Thank you all for your comments. Not sure what I did but the BBC is now working. Please close.
Best wishes.
-
@foggy you close. click the 3 dots to the right, and select mark this post…
-