mirror of
https://github.com/beego/bee.git
synced 2025-07-05 18:20:18 +00:00
Improve bee command lines
Clean and improve some of the command option descriptions
This commit is contained in:
18
run.go
18
run.go
@ -24,23 +24,11 @@ import (
|
||||
|
||||
var cmdRun = &Command{
|
||||
UsageLine: "run [appname] [watchall] [-main=*.go] [-downdoc=true] [-gendoc=true]",
|
||||
Short: "run the app which can hot compile",
|
||||
Short: "run the app and start a Web server for development",
|
||||
Long: `
|
||||
start the appname throw exec.Command
|
||||
Run command will supervise the file system of the beego project using inotify,
|
||||
it will recompile and restart the app after any modifications.
|
||||
|
||||
then start a inotify watch for current dir
|
||||
|
||||
when the file has changed bee will auto go build and restart the app
|
||||
|
||||
file changed
|
||||
|
|
||||
check if it's go file
|
||||
|
|
||||
yes no
|
||||
| |
|
||||
go build do nothing
|
||||
|
|
||||
restart app
|
||||
`,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user