https://github.com/wppurking/autorun
尝试自己实现一个监控 Golang 文件并且自动重新编译重启的项目
https://github.com/wppurking/autorun
Last synced: 7 months ago
JSON representation
尝试自己实现一个监控 Golang 文件并且自动重新编译重启的项目
- Host: GitHub
- URL: https://github.com/wppurking/autorun
- Owner: wppurking
- Created: 2013-09-17T08:01:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-17T08:05:46.000Z (over 11 years ago)
- Last Synced: 2024-04-14T16:08:39.662Z (about 1 year ago)
- Language: Go
- Size: 97.7 KB
- Stars: 9
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoRun
自己实现一个自动检测文件变化并且进行重新编译运行的应用.## Useage
使用 [goenv](https://bitbucket.org/ymotongpoo/goenv) 初始化好 GOPATH 等等环境变量, 然后在当前项目目录运行 autorun 即可,
其会自动根据当前目录设置为编译后的项目名称进行 watch -> build -> start## Deps
go get github.com/howeyc/fsnotify