modd
modd copied to clipboard
Execute the binary and loop wirelessly
api/api/*.api { prep: god api go -api api/api/dempdata.api -dir api/dempdata/ }
11:26:54: prep: god api go -api api/api/dempdata.api -dir api/dempdata/
api/dempdata/etc/dempdata-api.yaml 已存在,忽略生成
api/dempdata/internal/config/config.go 已存在,忽略生成
api/dempdata/dempdata.go 已存在,忽略生成
api/dempdata/internal/svc/service_context.go 已存在,忽略生成
type: RankReq, property name NavName json tag illegal, should set json tag as json:"navName"
api/dempdata/internal/handler/v20220401/list_by_message_handler.go 已存在,忽略生成
api/dempdata/internal/handler/v20220401/project_handler.go 已存在,忽略生成
api/dempdata/internal/handler/v20220401/user_handler.go 已存在,忽略生成
api/dempdata/internal/handler/v20220401/rank_appoint_handler.go 已存在,忽略生成
api/dempdata/internal/handler/v20220401/rank_share_handler.go 已存在,忽略生成
api/dempdata/internal/logic/v20220401/list_by_message_logic.go 已存在,忽略生成
api/dempdata/internal/logic/v20220401/project_logic.go 已存在,忽略生成
api/dempdata/internal/logic/v20220401/user_logic.go 已存在,忽略生成
api/dempdata/internal/logic/v20220401/rank_appoint_logic.go 已存在,忽略生成
api/dempdata/internal/logic/v20220401/rank_share_logic.go 已存在,忽略生成
api/dempdata/internal/middleware/appid_middleware.go 已存在,忽略生成
完成。
done (236.326292ms) 11:26:54: prep: god api go -api api/api/dempdata.api -dir api/dempdata/ api/dempdata/etc/dempdata-api.yaml 已存在,忽略生成 api/dempdata/internal/config/config.go 已存在,忽略生成 api/dempdata/dempdata.go 已存在,忽略生成 api/dempdata/internal/svc/service_context.go 已存在,忽略生成 type: RankReq, property name NavName json tag illegal, should set json tag as
json:"navName"
api/dempdata/internal/handler/v20220401/list_by_message_handler.go 已存在,忽略生成 api/dempdata/internal/handler/v20220401/project_handler.go 已存在,忽略生成 api/dempdata/internal/handler/v20220401/user_handler.go 已存在,忽略生成 api/dempdata/internal/handler/v20220401/rank_appoint_handler.go 已存在,忽略生成 api/dempdata/internal/handler/v20220401/rank_share_handler.go 已存在,忽略生成 api/dempdata/internal/logic/v20220401/list_by_message_logic.go 已存在,忽略生成 api/dempdata/internal/logic/v20220401/project_logic.go 已存在,忽略生成 api/dempdata/internal/logic/v20220401/user_logic.go 已存在,忽略生成 api/dempdata/internal/logic/v20220401/rank_appoint_logic.go 已存在,忽略生成 api/dempdata/internal/logic/v20220401/rank_share_logic.go 已存在,忽略生成 api/dempdata/internal/middleware/appid_middleware.go 已存在,忽略生成 完成。 done (213.423167ms)
I'm not familiar with the program or framework you're using, but I've seen loops with modd
when the command you're running writes changes to files that modd
is watching. Excluding those files from being watched should resolve the loop issue. Does that help?