1

In Meteor www.meteor.com, every time you save your HTML/Javascript/CSS it will push the changes to the browser and hence **you don't need to refresh the browser manually.

Is there a way I can do this in standard node.js environment without using meteor ?

What about in PHP / Java environment ?

Lydon Ch
  • 8,637
  • 20
  • 79
  • 132

2 Answers2

2

I haven't tried it, but LiveJS.com might work.

From the docs:

Just include Live.js and it will monitor the current page including local CSS and Javascript by sending consecutive HEAD requests to the server. Changes to CSS will be applied dynamically and HTML or Javascript changes will reload the page.

Community
  • 1
  • 1
Kyle Finley
  • 11,842
  • 6
  • 43
  • 64
  • This works for HTML/Javascript/CSS fine in development although it might make the browser busy sending HEAD requests. Thanks!! – Lydon Ch May 06 '12 at 04:33
  • 1
    Using Mac Chrome, the demo constantly refreshes and is all jumpy – jchook Jul 17 '13 at 01:21
  • @jchook Yes, LiveJs probably isn't a good option any more. What server side tech are you using? When I'm not using Meteor I use [Brunch](http://brunch.io/). Here's my [Angular Brunch Seed](https://github.com/scotch/angular-brunch-seed) Project. I believe you could also use something like [yeoman.io](http://yeoman.io/) – Kyle Finley Jul 17 '13 at 06:52
1

This will do what you want: https://github.com/viatropos/design.io

Varun Singh
  • 1,676
  • 3
  • 18
  • 25
  • Thanks, I'm trying this, but got problem http://stackoverflow.com/questions/10468021/design-io-cant-hot-push-code – Lydon Ch May 06 '12 at 04:09