crisptrutski / boot-cljs-test

Boot task to run ClojureScript tests.
53 stars 18 forks source link

can't watch with symlinks #80

Closed thedavidmeister closed 6 years ago

thedavidmeister commented 6 years ago

get error on the 2nd run when watching:

java.nio.file.FileAlreadyExistsException: /Users/davidmeister/.boot/cache/tmp/Users/davidmeister/Cannabit-Cloud/73q/-ueasqk/node_modules

thedavidmeister commented 6 years ago

PR up @crisptrutski

crisptrutski commented 6 years ago

Hi David - thanks very much for root causing and providing a fix for this issue. I am a bit nervous about an unconditional delete in this case however, would it be possible to delete existing files only if they are confirmed to be symlinks?

thedavidmeister commented 6 years ago

@crisptrutski maybe? i mean it sounds plausible

would you be able to test out the idea?

thedavidmeister commented 6 years ago

i'm checking this out now

thedavidmeister commented 6 years ago

@crisptrutski ok, can you check what i've done? i couldn't find anything outside java.nio.file that deals with the existence of a symlink.