第一、问题呈现
PS E:\workspace-gos> ll
ll : 无法将“ll”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ ll
+ ~~
+ CategoryInfo : ObjectNotFound: (ll:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
第二、问题解决
1.下载
git clone https://github.com/gravityblast/fresh.git
2.安装
go install github.com/pilu/fresh@latest
3.测试
PS E:\workspace-gos\gin01> fresh
18:46:20 runner | InitFolders
18:46:20 runner | mkdir ./tmp
18:46:20 watcher | Watching .
18:46:20 main | Waiting (loop 1)...
18:46:20 main | receiving first event /
18:46:20 main | sleeping for 600 milliseconds
18:46:20 main | flushing events
18:46:20 main | Started! (5 Goroutines)