Code Monkey home page Code Monkey logo

Comments (9)

MichMich avatar MichMich commented on May 26, 2024

Hi Maurice,

The full page refresh is not intended. This is probably a bug which I can't seem to replicate. Is there a way you can give the new code a try on your desktop and investigate if you see any errors in the console?

Cheers,
Michael

from magicmirror.

mattreese808 avatar mattreese808 commented on May 26, 2024

Having same issue and the pi can't seem to refresh the page after the ~15 min interval, it just loads forever. The only way is to click the url and press enter... which doesn't work in fullscreen and defeats the purpose of the autostart.

Is there anyway to disable this auto refresh?

from magicmirror.

nhubbard avatar nhubbard commented on May 26, 2024

I had this issue and could only fix this with by disabling the version component. I deploy mine on an Azure site, so I can't even use the Git refresh feature.

from magicmirror.

bitte-ein-bit avatar bitte-ein-bit commented on May 26, 2024

I have this issue to on my dev System which does not have a commandline git available for php. It's the version control for sure.

from magicmirror.

MichMich avatar MichMich commented on May 26, 2024

The auto reloading isn't working properly for me either. Feel free to remove or replace this feature in a pull request.

from magicmirror.

bitte-ein-bit avatar bitte-ein-bit commented on May 26, 2024

@MichMich are you directly pushing to the repro the pi is running from or does the pi have a seperate clone to serve from?

The first might be troublesome because HEAD changes way more often.

from magicmirror.

MichMich avatar MichMich commented on May 26, 2024

Maybe we could change this feature by allowing to refresh the screen by a command line command. Usually after a git pull, you still need to change the config file. Maybe we could do something like

touch refresh

And let the mirror check the edit date of refresh

Any thoughts?

from magicmirror.

DanWilkerson avatar DanWilkerson commented on May 26, 2024

@MichMich First of all, thanks for this project! I've built a full-length version (The glass is 59 1/2" x 20", and the whole assembly is 70" x 32") after being inspired by your original creation.

Per live-reloading, I do feel that moving away from the githash solution would be a good idea, since I often want to test things without committing new code, but that just might be me. I think having the front end poll the backend for an update indicator is a good idea. Not sure the best way to generate that at the moment, though.

from magicmirror.

MichMich avatar MichMich commented on May 26, 2024

@DanWilkerson , I agree. Those are cases when you want manual reloading. With a bit of luck I might be able to spend some time on this coming weeks, so hopefully I can address this issue.

from magicmirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.