MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Making changes without stopping MM

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 3 Posters 2.8k Views 3 Watching
    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.
    • idoodlerI Offline
      idoodler Module Developer @jtmoore81
      last edited by

      @jtmoore81 Not really. Do you use pm2?

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

        If you have a keyboard attached you can Ctrl-R

        idoodlerI 1 Reply Last reply Reply Quote 0
        • idoodlerI Offline
          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 Offline
            jtmoore81 @idoodler
            last edited by

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

            idoodlerI 1 Reply Last reply Reply Quote 0
            • S Offline
              sharmstr Project Sponsor
              last edited by

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

              idoodlerI 1 Reply Last reply Reply Quote 0
              • idoodlerI Offline
                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
                • idoodlerI Offline
                  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 Offline
                    sharmstr Project Sponsor @idoodler
                    last edited by

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

                    idoodlerI 1 Reply Last reply Reply Quote 1
                    • idoodlerI Offline
                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy