go-watcher icon indicating copy to clipboard operation
go-watcher copied to clipboard

vim file jumping

Open fruitloop opened this issue 5 years ago • 0 comments

Hi,

I'm using vim to write my .go files and the default behavior of vim is the following:

- write buffer to new file
- delete the original file
- rename the new file

I therefore get a lot of this:

Building project/something...
can't load package: package project/something: no Go files in /home/roland/go/src/project/something
An error occurred while building: exit status 1

My guess is that this has something to do with timers. Your watcher seems to update faster than vim writes/moves the file. Is there any way to modify that?

fruitloop avatar Apr 02 '19 14:04 fruitloop