• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.2k 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.
  • J Offline
    jtmoore81
    last edited by May 31, 2018, 5:58 PM

    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,

    I 1 Reply Last reply May 31, 2018, 5:59 PM Reply Quote 0
    • I Offline
      idoodler Module Developer @jtmoore81
      last edited by May 31, 2018, 5:59 PM

      @jtmoore81 Not really. Do you use pm2?

      J 1 Reply Last reply May 31, 2018, 6:17 PM Reply Quote 0
      • S Offline
        sharmstr Project Sponsor
        last edited by May 31, 2018, 6:14 PM

        If you have a keyboard attached you can Ctrl-R

        I 1 Reply Last reply May 31, 2018, 6:15 PM Reply Quote 0
        • I Offline
          idoodler Module Developer @sharmstr
          last edited by May 31, 2018, 6:15 PM

          @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 May 31, 2018, 6:17 PM

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

            I 1 Reply Last reply May 31, 2018, 6:20 PM Reply Quote 0
            • S Offline
              sharmstr Project Sponsor
              last edited by May 31, 2018, 6:18 PM

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

              I 1 Reply Last reply May 31, 2018, 6:24 PM Reply Quote 0
              • I Offline
                idoodler Module Developer @jtmoore81
                last edited by May 31, 2018, 6:20 PM

                @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
                • I Offline
                  idoodler Module Developer @sharmstr
                  last edited by May 31, 2018, 6:24 PM

                  @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 May 31, 2018, 6:26 PM Reply Quote 1
                  • S Offline
                    sharmstr Project Sponsor @idoodler
                    last edited by May 31, 2018, 6:26 PM

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

                    I 1 Reply Last reply May 31, 2018, 6:36 PM Reply Quote 1
                    • I Offline
                      idoodler Module Developer @sharmstr
                      last edited by May 31, 2018, 6:36 PM

                      @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
                      1 / 1
                      • First post
                        3/10
                        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