0.1.2 • Published 10 years ago

dandelion v0.1.2

Weekly downloads
9
License
MIT
Repository
github
Last release
10 years ago

Dandelion icon Dandelion

Dandelion is a small utility that watches files for changes and reload the webview or browser automatically. This is particularly useful when debugging webviews inside native apps.

Installation

Install Dandelion using npm:

$ [sudo] npm install -g dandelion

Usage

First you need to include live-reload.js in your HTML file. You can find live-reload.js in this repository under src/.

<html>
<head>
    <script src="live-reload.js"></script>
</head>
</html>

Then change to your project directory, and run dandelion watch. Now whenever you make a change to any file in the directory, the browser or webview will auto reload.

As a bonus, Dandelion also compiles CoffeeScript files into JavaScript for you.

If you run into port conflicts, remember that Dandelion listens on port 9485 for file changes. At this moment you can't run two instances of Dandelion at the same time.

License

Dandelion is released under the MIT license.

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago