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.

    Faster Reload after changing config.js

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 7.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.
    • lavolp3L Offline
      lavolp3 Module Developer
      last edited by

      Re: Restarting MM² when config.js file changes

      Currently I am trying a lot of things with the modules on my MagicMirror. Every time I change something in the config.js or in the custom.css I do a

      pm2 restart mm
      

      Unfortunately on a Pi3 this takes some time. I would say about half a minute until everything is reloaded again.
      Isn’t there a faster way to do this. I mean, this is running in electron, isn’t there a way to only “refresh” the page in electron, or reloading modules, or is all this not sufficient?

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @lavolp3
        last edited by

        @lavolp3

        Control + R will reload the page

        Create a working config
        How to add modules

        justjim1220J 1 Reply Last reply Reply Quote 3
        • justjim1220J Offline
          justjim1220 Module Developer @Mykle1
          last edited by

          @mykle1
          @lavolp3

          Control + R is much faster than restart mm

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @justjim1220
            last edited by

            @justjim1220

            Look up. ^

            Create a working config
            How to add modules

            justjim1220J 1 Reply Last reply Reply Quote 1
            • lavolp3L Offline
              lavolp3 Module Developer
              last edited by

              @Mykle1
              @justjim1220
              Thanks!
              I’ve always used SSH, but for that case I’ll connect a keyboard.
              Thinking about working on the mirror alltogether.
              If someone knows a shortcut to open the terminal in the front I’d also appreciate it!

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              1 Reply Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @Mykle1
                last edited by

                @mykle1

                LOL!!! I seen your answer, I was trying to re-iterate! Like agreeing with you!

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @justjim1220
                  last edited by

                  @justjim1220

                  Allllllllllrighty then! :-)

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 1
                  • 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