Search code examples
node.jsmeteorhotdeploy

Hot push website code ala Meteor


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 ?


Solution

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