webxl / grunt-reload

A grunt task and reverse proxy that enables live reloading of updated files in the browser.
MIT License
132 stars 19 forks source link

3 second pause #8

Open geddski opened 11 years ago

geddski commented 11 years ago

I have grunt-reload setup and working. I make a change and it refreshes my browser, but then there's a three second window where no changes are picked up. After the three seconds are up, if I save the file again the reload is triggered, and the three seconds starts again. This is pretty annoying, I probably have something setup wrong. Here's what I have:

reload: {
      port: 8081,
      proxy: {
          host: 'localhost',
          port: 8080
      }
    }

After a reload is triggered my watch task outputs this: Running "watch" task Waiting...Sat Oct 13 2012 11:12:13 GMT-0600 (MDT) Peer 127.0.0.1 disconnected. Then three seconds later outputs: Sat Oct 13 2012 11:12:16 GMT-0600 (MDT) Connection accepted.