• 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.

Faster Reload after changing config.js

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 3 Posters 7.4k 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.
  • L Offline
    lavolp3 Module Developer
    last edited by May 17, 2018, 11:24 AM

    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

    M 1 Reply Last reply May 17, 2018, 11:29 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @lavolp3
      last edited by May 17, 2018, 11:29 AM

      @lavolp3

      Control + R will reload the page

      Create a working config
      How to add modules

      J 1 Reply Last reply May 17, 2018, 9:39 PM Reply Quote 3
      • J Offline
        justjim1220 Module Developer @Mykle1
        last edited by May 17, 2018, 9:39 PM

        @mykle1
        @lavolp3

        Control + R is much faster than restart mm

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

        M 1 Reply Last reply May 18, 2018, 12:54 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @justjim1220
          last edited by May 18, 2018, 12:54 AM

          @justjim1220

          Look up. ^

          Create a working config
          How to add modules

          J 1 Reply Last reply May 19, 2018, 2:07 AM Reply Quote 1
          • L Offline
            lavolp3 Module Developer
            last edited by May 18, 2018, 7:01 AM

            @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
            • J Offline
              justjim1220 Module Developer @Mykle1
              last edited by May 19, 2018, 2:07 AM

              @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

              M 1 Reply Last reply May 19, 2018, 2:08 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @justjim1220
                last edited by May 19, 2018, 2:08 AM

                @justjim1220

                Allllllllllrighty then! :-)

                Create a working config
                How to add modules

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