Posts List

Golang 监听文件变化(非轮询)

Golang 监听文件变化(非轮询) 最近研究openresty(nginx+lua),由于这货热更有点麻烦,所以就写就用golang写了一个文件监听的程序,监听到配置文件或lua文件更改就重启