如果要监控所有的文件需要添加并修改配置文件:
地址:https://github.com/cosmtrek/air
windows 用户需要更改:
APP_ENV=dev APP_USER=air ./tmp/main
为:set APP_ENV=dev && set APP_USER=air && /path/to/tmp/main.exe
及其他
来源:https://www.jianshu.com/p/ebf01fde992e
如果要监控所有的文件需要添加并修改配置文件:
地址:https://github.com/cosmtrek/air
windows 用户需要更改:
APP_ENV=dev APP_USER=air ./tmp/main
为:set APP_ENV=dev && set APP_USER=air && /path/to/tmp/main.exe
及其他
来源:https://www.jianshu.com/p/ebf01fde992e