arun

command module
v0.1.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

README

Arun

☁ 🔥 Live reload for any command.

$ arun go run main.go

    ___
   /   |  _______  ______
  / /| | / ___/ / / / __ \
 / ___ |/ /  / /_/ / / / /
/_/  |_/_/   \__,_/_/ /_/ v0.1.1 // live reload for any command, with Go1.14.0

watching .
!exclude docs
watching hack
watching hooks

Motivation

Inspired by air. I want to build a simple live-reload tool that support run any type of file (e.g. go, python, js) when file is modified.

Great thanks to air :).

Features

  • Support reload any type of command
  • Colorful log output
  • Customize build or binary command
  • Support excluding subdirectories
  • Allow watching new directories after Arun started

todo

  • [] Loop time run
  • [] Support clean up

Installation

Go

The classic way to install

go get -u github.com/ahuigo/arun

Usage

$ arun -h 
Usage:
    arun [options] command arguments......
options:
    -d <item> 	Debug Item
    -h			Help
    -i 			Ignore Directory
    -v <level>	Verbose Level
    -s			Keep Silent, without log output
example:
    arun go run main.go

Sponsor

Most arun's code is migrated from air. If you like it, you could buy Rick Yu a beer.

Buy Me A Coffee

License

GNU General Public License v3.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL