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