Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mojito-rs-hotswap

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mojito-rs-hotswap

Hotswap plugin for Mojito's Resource Store

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
Maintainers
3
Weekly downloads
 
Created
Source

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
}

FAQs

Package last updated on 02 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc