codegangsta / gin

Live reload utility for Go web servers
MIT License
4.23k stars 317 forks source link

-x seems not accept sub-dir #131

Open assalyn opened 6 years ago

assalyn commented 6 years ago

In my case, when use cmd: gin -i -p 3014 -b gateway -t src -d src/server/gateway -x src/test the -x src/test seems doesn't work. any modify in test directory will cause recompile

but, when enter src/ use cmd gin -i -p 3014 -b gateway -t . -d server/gateway -x test then, it's all ok.

So I guess maybe some flaw in -x ?

environment: golang1.9 cgywin in win10