vim file jumping
fruitloop opened this issue · 0 comments
fruitloop commented
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?