gobblejs / gobble

The last build tool you'll ever need
333 stars 20 forks source link

Replacing hard link with symlink for single-file source nodes? #78

Open msegado opened 9 years ago

msegado commented 9 years ago

I expect it's rare for hard links to pose an issue, but I'm using AFS which doesn't support hard links across directories (http://www-01.ibm.com/support/docview.wss?uid=swg21047089) so Gobbling a file fails with an EXDEV error. Any chance we could use symlinkOrCopy instead of link for single-file source nodes instead? It looks like it's used elsewhere in Gobble and it doesn't seem to break the tests.

No hard feelings if you'd rather keep the hard link though!