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

jsrebuild

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsrebuild

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

jsrebuild

jsrebuild dynamically runs the Jake build tool to rebuild JavaScript projects in development environments.

Overview

Jake is often run as part of a website's build process, building JavaScript packages from source files. This often leads to a tedious situation for projects which use Jake, as the developer must continually run the jake command to rebuild their JavaScript files as they make changes to the source code.

The jsrebuild utility provides a solution to this problem: it watches a source directory and rebuilds the project whenever changes are made to the source files, jake.yml config file and the Jakefile helper file.

Installation

jsrebuild uses the Cool.io library which depends on libev, a low-level event loop library, so you will need to have libev installed before attempting to install the jsrebuild gem.

jsrebuild is available from RubyGems, so you can install it and its dependencies simply by running

gem install jsrebuild

Running jsrebuild

To watch a particular directory such as ~/projects/mywebapp for changes, just run

jsrebuild ~/projects/mywebapp

The jsrebuild tool takes a number of command-line arguments, allowing you to set options such as the interval at which it checks files for changes, and whether or not to force all the project's packages to be rebuild whenever a change is made.

For a full list of options, run jsrebuild --help.

jsrebuild will happily run daemonised. To shut down the process, simply send it SIGHUP and it will shut down the event loop and exit cleanly.

FAQs

Package last updated on 12 Aug 2011

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