live-refresh

Live refresh

Usage no npm install needed!

<script type="module">
  import liveRefresh from 'https://cdn.skypack.dev/live-refresh';
</script>

README

live-refresh

LiveReload was too hard for me to understand, so I wrote LiveRefresh.

Installation

sudo npm install git://github.com/shallker-wang/live-refresh.git -g

Quick Start

Go to project and live refresh current directory.

cd project-x
refresh .

Features

  • Refresh the page when .jpg .jpeg .js .html .jade .coffee .stylus files changed, created or deleted
  • CSS styles auto reload when .css file changed without refreshing the page

Install Chrome extension

LiveRefresh Chrome Extension