Skip to content

toonketels/crun

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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