MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Making changes without stopping MM

    Troubleshooting
    3
    10
    1226
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jtmoore81 last edited by

      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,

      idoodler 1 Reply Last reply Reply Quote 0
      • idoodler
        idoodler Module Developer @jtmoore81 last edited by

        @jtmoore81 Not really. Do you use pm2?

        J 1 Reply Last reply Reply Quote 0
        • S
          sharmstr last edited by

          If you have a keyboard attached you can Ctrl-R

          idoodler 1 Reply Last reply Reply Quote 0
          • idoodler
            idoodler Module Developer @sharmstr last edited by

            @sharmstr That’ll only apply the changes to the UI, not to the underlaying node modules.

            1 Reply Last reply Reply Quote 1
            • J
              jtmoore81 @idoodler last edited by

              @idoodler I haven’t installed it on this machine…I guess I should. Thanks.

              idoodler 1 Reply Last reply Reply Quote 0
              • S
                sharmstr last edited by

                Right. The OP specified the config file not modules so I assumed that’s all they wanted.

                idoodler 1 Reply Last reply Reply Quote 0
                • idoodler
                  idoodler Module Developer @jtmoore81 last edited by

                  @jtmoore81 Well, this mirror is running pm2 there should be a watcher task running. Try to execute pm2 list to see if your MagicMirror is handled by it.

                  1 Reply Last reply Reply Quote 0
                  • idoodler
                    idoodler Module Developer @sharmstr last edited by

                    @sharmstr Yeah, I always prefere to restart the whole MagicMirror using pm2 restart MagicMirror. Also pm2 is watching the config.json file for any changes and will execute the restart the MagicMirror automatically.

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      sharmstr @idoodler last edited by

                      @idoodler Totally agree, but for css and location changes, ctrl r saves a ton of time.

                      idoodler 1 Reply Last reply Reply Quote 1
                      • idoodler
                        idoodler Module Developer @sharmstr last edited by

                        @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
                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy