ryanslade/goautotest

Goautotest run tests twice

antage opened this issue · 3 comments

If I have changed any .go file goautotest invoke 'go test' twice:

$ goautotest
Running tests...
PASS
ok      github.com/antage/test  0.005s

Running tests...
PASS
ok      github.com/antage/test  0.006s

I logged fsnotify events and noticed goautotest got FileEvent twice. Technicaly it's not a bug.

Hi Ryan,

Thanks for this neat autotest tool. Was this issue fixed? I recently installed goautotest and noticed my tests are running twice as well.

Edit: This may have something to do with ST2 (howeyc/fsnotify#41), however when I issue a simple touch file.go command, I am still logging two separate events and therefore two separate tests.

I can confirm this is happening again. Will look into it.