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

rebuild

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rebuild

Rebuild

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3K
decreased by-36.36%
Maintainers
1
Weekly downloads
 
Created
Source

Rebuild

Rebuild is a simple utility that does just one thing: it watches one or more files or directories for changes and runs a command when they change. That's it. It's intended to be used with command line build systems, but you can't really use it for anything.

Installation

npm install rebuild -g

Usage

Specify any number of files or directories using -w or --watch. Then just include whatever command you want to run. For example, if you just want to run ls whenever files in the tmp directory change, you would do this:

rebuild -w tmp ls

The directory is resolved based on the current working directory for both the files and directories to watch and the command to run. Other examples:

# Run "ant test" when the files in src change
rebuild -w src ant test

# Automatically check in files in src and docs when they change
rebuild -w src -w docs git commit -am "Just wanted to check these in"

FAQs

Package last updated on 24 Aug 2012

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