Git Product home page Git Product logo

bro's Introduction

bro - runs commands when files changed

bro is your bro who watches your back in command line.

Installation

go get github.com/go-again/bro@latest

Usage

bro run
USAGE:
   bro [global options] command [command options] [arguments...]

COMMANDS:
   init     Initializes config file
   run      Starts watching and helping
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d    enable debug output (default: false)
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

Quick Start

To work with a new project, you need bro.yaml file under your work directory. You can quickly generate it by running:

$ bro init

FAQs

How do I gracefully restart an application?

Change the following values in your bro.yaml:

run:

  timeout: 5
  graceful: true

This will send os.Interrupt signal first and wait for 5 seconds before killing it forcefully.

Configuration

An example configuration is available as bro.yaml. You can override a config value in a .bro.yaml file which is useful for local development.

bro's People

Contributors

arthurpro avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.