From 6df71de34bd5563be8eb9f3b5db6e97ae4f63e05 Mon Sep 17 00:00:00 2001 From: ZhengYang Date: Fri, 29 Aug 2014 15:34:07 +0800 Subject: [PATCH] output message --- README.md | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index a6b35e0..2bd18db 100644 --- a/README.md +++ b/README.md @@ -89,28 +89,22 @@ For instance, to get more information about the `run` command: ```bash $ bee help run -usage: bee new [appname] +usage: bee run [appname] [watchall] [-main=*.go] [-downdoc=true] [-gendoc=true] -create an application base on beego framework, +start the appname throw exec.Command -which in the current path with folder named [appname]. +then start a inotify watch for current dir + +when the file has changed bee will auto go build and restart the app -The [appname] folder has following structure: + file changed + | + check if it's go file + | + yes no + | | + go build do nothing + | + restart app - |- main.go - |- conf - |- app.conf - |- controllers - |- default.go - |- models - |- routers - |- router.go - |- tests - |- default_test.go - |- static - |- js - |- css - |- img - |- views - index.tpl ``` \ No newline at end of file