Skip to content

toonketels/crun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crun - continuously Compile and Run

Crun is a command line tool that compiles and runs your go code and watches all .go files in the current directory, recompiling and rerunning your code when the files change.

Useful to start webapps and recompiling them each time a file changes. As such it is an alternative to go run server.go, each time terminating the command yourself and doing go run server.go again.

Build Status

Install

Ensure Go is installed and your GOPATH set.

Install package:

go get github.com/toonketels/crun

Usage

// Change to directory with your app go source code
cd /path/to/my/app

// Start compiling and running app
crun

You can pass additional arguments to the binary.

// additional arguments after `--` are passed to the binary
crun -- --port=:3000

About

continuously Compile and Run - for go source code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages