-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlink symlinked directory target #30
Comments
Up. Contrib clean is currently not able to delete symlinks. Maybe adding an option would be enough without breaking BC ? |
also want this. |
Update: I'm thinking this might be relevant. When I made a working symlink it cleaned just fine. Here's an example that will create a symlink that can be removed, and one that can't. If this is the case, the issue is more a matter of reporting bad symlinks. What OS are y'all using? I'm working on a fix for this for OSX. Here's what I know so far:
The first problem is this if statement. The second issue is this line.
I thought that this might be relevant, but it's only throwing the error with the node function. Everything else seems a-okay. If anyone else has any ideas, feel free to chime in. Otherwise I'll look more into this sometime soon. Note to self: using |
@jmeas is this related to gruntjs/grunt#1069 ? |
Only as far as them both involving symlinks. This is a bug with bad symlinks, I think, and that's adding new functionality to grunt. |
@jmeas ah both involve changes to the |
When a clean is invoked on a symlinked folder, the symlink still appears in the folder but in a broken state. Could the clean target automatically unlink the folder?
Would something like this make more sense as a user filter? If so, could examples using symlinks be shown as well?
Thanks!
The text was updated successfully, but these errors were encountered: