Skip to content

erkie/web-reloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Reloader

The idea is simple: reload all CSS files on a web page if a file changes in a specified directory.

Installation

npm install -g web-reloader

Usage

web-reloader app/assets # or the directory of your choosing

And add the following to your HTML:

<script src="http://localhost:13337/"></script>

Open files, change and save away!

As a bookmarklet

Don't want weird HTML tags floating about in your code? You can use this as a bookmarklet to activate the code.

javascript:var a = document.createElement("script"); a.src = "http://localhost:13337/"; document.body.appendChild(a); void 0;

About

A simple live css/scss/sass/less reloader.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published