Read the statement by Michael Teeuw here.
Making changes without stopping MM
-
@jtmoore81 Not really. Do you use
pm2
? -
If you have a keyboard attached you can Ctrl-R
-
@sharmstr That’ll only apply the changes to the UI, not to the underlaying node modules.
-
@idoodler I haven’t installed it on this machine…I guess I should. Thanks.
-
Right. The OP specified the config file not modules so I assumed that’s all they wanted.
-
@jtmoore81 Well, this mirror is running
pm2
there should be a watcher task running. Try to executepm2 list
to see if your MagicMirror is handled by it. -
@sharmstr Yeah, I always prefere to restart the whole MagicMirror using
pm2 restart MagicMirror
. Alsopm2
is watching theconfig.json
file for any changes and will execute the restart the MagicMirror automatically. -
@idoodler Totally agree, but for css and location changes, ctrl r saves a ton of time.
-
@sharmstr Yep, thats true.
- Change
*.css
or Javascript file => Just reload the Webinterface (ctrl
+r
) - Change
config.json
=> Reload the Webinterface will do it 90%, else restart MagicMirror
- Change