Grow your CSS skills. Land your dream job.

How to ‘live reload’ a page on a proxy server viewed on another computer.

  • # April 13, 2013 at 10:38 pm

    Hi

    On my mac I am running mamp pro. I also run [SquidMan](http://squidman.net/squidman/ “”) through proxy server, I can access my mamp site on any of my devices. This is great.

    Recently my external monitor has broken, and I thought I could use this method to make changes to my site on my mac and see the site in my ipad/pc. Is works great, however, Is there a way to have the site auto reload on my other computer when I edit it in another computer? Basically a similar feature to codepen pro

    thanks

    # October 27, 2013 at 2:21 pm

    I search for the same.
    If I use my local IP without SquidMan livereload are working for me, but I need configure every project to localhost in MAMP and that’s suboptimal for a developer with many projects and many testers for this projects.

    # May 6, 2014 at 9:36 am

    This is doable; you need to add the LiveReload port to SquidMan’s configuration file. I figured this out and emailed the developer, who has added the workaround to the SquidMan FAQ.

    Here is the explanation and instructions:

    LiveReload uses port 35729 to communicate with web clients that are monitoring a page for changes. If you are using SquidMan as a proxy server and it is sitting between your web site and the clients you want to see updates on, you will need to edit the SquidMan template. Locate the following line:

    acl SSL_ports port 443

    and add after it the following:

    acl SSL_ports port 35729

    Save your changes and SquidMan should restart Squid automatically to pick up the configuration change.

    You should be fine after that!

    # May 6, 2014 at 12:17 pm

    There’s also http://browsersync.io/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".