assemble-reload-views

0.1.2 • Public • Published

assemble-reload-views NPM version

Assemble instance plugin that reloads views when options are updated or when another plugin is loaded.

Install

Install with npm

$ npm i assemble-reload-views --save

Usage

This initializes event listeners to listen for events that indicate if something needs to be re-initialized based on user options. The result is that views are reloaded whenever settings are changed.

var reloadViews = require('assemble-reload-views');
var assemble = require('assemble');
 
var app = assemble();
app.use(reloadViews());

Related projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on October 10, 2015.

Readme

Keywords

Package Sidebar

Install

npm i assemble-reload-views

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • jonschlinkert