Read the statement by Michael Teeuw here.
Making changes without stopping MM
-
I"m starting to get things up and running with MM. I do have a question. Is there a way you can develop or make changes to the config file without having to stop the MM, then make the changes, then restart the system?
Thanks,
-
@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
pm2there should be a watcher task running. Try to executepm2 listto see if your MagicMirror is handled by it. -
@sharmstr Yeah, I always prefere to restart the whole MagicMirror using
pm2 restart MagicMirror. Alsopm2is watching theconfig.jsonfile 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
*.cssor Javascript file => Just reload the Webinterface (ctrl+r) - Change
config.json=> Reload the Webinterface will do it 90%, else restart MagicMirror
- Change
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login