Read the statement by Michael Teeuw here.
z-index in CSS and what happens when modules are "on top" of each other
-
@sdetweil Yeah, I did not know I was special! I did not know to expect it, but I noticed it was doing it after the second or third config change. This is on Debian 12 on an Intel system, if that matters. If I can provide any information from my system to help it work better, let me know. I do not have much time to code, but I am happy to debug and fiddle with scripts and configs.
-
@joey well my script sets it up to watch config.js
but they changed the code to watch a folder change, but folders don’t change except when files or folders are added or removed
i opened an issue a couple tears ago, no response
-
@sdetweil I wonder if it is something specific to Debian 12 then. I thought maybe it was twigging off the folder timestamp change (which does change if I change a file in the folder), but editing config.js.sample does not cause MM to restart.
I ran “pm2 log mm”, and when I edited config.js, this was the first log line as MM restarted;
0|mm | /home/user/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
That makes it look like MM’s node.js/electron is watching the config.js file, rather than pm2, maybe? I do not know enough about node.js/electron to check its logs…
-
@joey MagicMirror is not watching,
pn2 killed electron to restart
my MMM-Config checks folder change timestamp, and they don’t change except when new files/folders are added to a folder.
used to work all the time, freaks people out when it does!!!
-
@sdetweil used to work all the time, freaks people out when it does!!! In my copy of The Tao of Programming, there is “The Law of Least Astonishment” (which may be a rephrasing of the decades earlier Principle of least astonishment. Either way, software should not freak people out. On the other hand, predictable behaviour is overrated, and I would rather be surprised by an unexpected good interaction than an expected bad one.
Let me know if I can do anything to test if there is a chance my system can help. Otherwise, I will just be happy to have an extra facet on my gem!