bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Add option to ignore files (possibly ignore some by default) #94

Closed vheuken closed 8 years ago

vheuken commented 8 years ago

I use vim. Because of the .swp files being written when files save, doo ends up running the tests twice. This is very annoying. An option to ignore certain files would be nice. Perhaps it would also be a good idea to ignore dotfiles by default, since they are seldom important within source directories.

bensu commented 8 years ago

Hi @vheuken,

Thanks for the report, I could reproduce the problem. We should fix it, I'll see where is the best place to do it and get back to you.

vheuken commented 8 years ago

Any update on where to fix? I'm going to have some time this weekend to work on it and it'd be nice if you could point me in the right direction.

bensu commented 8 years ago

I could reproduce the double trigger using the cljs.build.api/watch function as shown here

We should now see if we can solve this at the compiler level.

bensu commented 8 years ago

As a temporal fix @deraen recommends using set noswapfile in your vi config.

bensu commented 8 years ago

@vheuken did set noswapfile help out?

bensu commented 8 years ago

Closing this due to inactivity.