Domanda

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 ?

È stato utile?

Soluzione

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.

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top