Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

YahooArchive/mojito-rs-hotswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojito Resource Store Hotswap plugin

Build Status

Build Status

Usage

In your app's package.json, add the mojito-rs-addon package as a dependency.

This package contains a set of Mojito Resource Store addons. Their role is to monitor changes in Mojito resources to dynamically update the necessary Resource Store meta-data and see the changes reflected in your application without having to restart the node process.

Currently, only resources containing YUI modules (e.g, controllers) are supported. In the future, we should add an addon that can handle changes in configuration files as well.

This addon can be enabled by setting resourceStore.hotswap to true in your application static configuration. However, it is strongly recommended to enable this plugin only on developer boxes!

Mojito allows you to disable the view cache, which you may want to configure on developer boxes as well:

"viewEngine": {
    "cacheTemplates": false
}

About

[archiving soon] Hotswap plugin for Mojito's Resource Store

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published