mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 11:27:06 +00:00
Iris run: (rizla) disable the banner on each reload, fix two-times reload on windows
This commit is contained in:
@@ -7,7 +7,7 @@ This package is the command line tool for [../](https://github.com/kataras/iris
|
||||
[](https://raw.githubusercontent.com/iris-contrib/website/gh-pages/assets/iris_cli_screen2.png)
|
||||
|
||||
## Install
|
||||
Current version: 0.0.8
|
||||
Current version: 0.0.9
|
||||
```sh
|
||||
|
||||
go get -u github.com/kataras/iris/iris
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
const (
|
||||
// Version of Iris command line tool
|
||||
Version = "0.0.8"
|
||||
Version = "0.0.9"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -27,7 +27,7 @@ func runAndWatch(flags cli.Flags) error {
|
||||
rizla.Run()
|
||||
*/
|
||||
// or just do that:
|
||||
|
||||
rizla.DefaultDisableProgramRerunOutput = true // we don't want the banner to be shown after the first run
|
||||
rizla.Run(programPath)
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user