This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

AssetReload uses WebSockets to broadcast asset changes to the browser.

## Installation

Install with pip:

pip install assetreload

If you don’t have it installed, use easy_install instead.

## Usage

Once setup, cd into a directory you would like to monitor for changes and start the server by running assetreload.

There are optional arguments:

  • path defines the directory to monitor (defaults to current directory)
  • port the port on which to start the server (defaults to 8888)

E.g.

assetreload –path=~/mysite/ –port=8889

### In the browser

Make a copy of assetreload.js in your project, and include the following:

<script id=”assetreload” src=”assetreload.js”></script>

Changes to the current document or JavaScript trigger a page reload, but images and CSS can happen without. Configure your port to match the above by using data-port on the script tag.

You can automatically generate assetreload.js into a directory of your choosing by running:

assetreload genscript

## Changelog

### Version 1.1

  • Added: error handling for incorrectly configured ports
  • Removed: need to specify a list of files to watch - files are now handled automatically
Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
assetreload-1.1.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Feb 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting