Socket
Book a DemoInstallSign in
Socket

dandelion

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

dandelion

A small utility that watchs files for changes and reload a web page.

unpublished
npmnpm
Version
0.1.2
Version published
Weekly downloads
4
-50%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

live-reload

FAQs

Package last updated on 25 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts