-
Notifications
You must be signed in to change notification settings - Fork 19
updateAndDelete does update, but not delete when destination is UNC path #18
Comments
Do you get any verbose output when running the task? |
You are correct about Windows. I do get verbose output, and updates seem to be functioning normally, however I have yet to see it delete anything. If I remove the trailing slash, it seems to perform the same as if I did not. It still does not remove files, only performs updates. Regarding the last suggestion, I can't use backslashes because the JS parser chokes:
Thanks for looking into this! |
Hi!
If in verbose output you get messages that something will be deleted then changing If not I will look close to your configuration and see if I've missed some case in code. |
After changing the devPath to match your suggestion, it still does not indicate any delete operations will be performed, just updates. There are at least 6 items in subfolders and one item in the root path that should be deleted. |
I did some cursory troubleshooting, and I see that the paths variable and the result array in your second pass is coming up empty. I also see that the destPaths variable returns the promise object, but doesn't seem to contain any usable data (at least when I attempted to enumerate it). I hope this helps. |
I also see a similar problem. I'm also on Windows and I've tried the suggested fixes without any success. Are there any items worth logging that would help determine why the delete of a file is not happening. |
I'm terribly sorry guys, but didn't have time yet to look at your issue. I promise to look at this in a few days. |
I am running it on linux ... and it doesn't want to copy ... logs out that it's copying but it's not ... just if i put on updateAndDelete: false then it copy .... |
I was looking into your issues and I couldn't find anything that could help. Could you prepare minimal Gruntfile & demo to reproduce your issue? |
Any updates on this issue? Tomasz, do you need any additional information from me? I'm happy to help where I can... |
@chrischain I dug into your issue and it seems that it won't be working with UNC paths until it will be supported in glob (see isaacs/node-glob#74) Let's wait until this is fixed in glob. I'll update library and we can see if it works. @vizo @shiraze Since this thread is related to UNC path, please open new issue if you experience different problems. |
Thanks! Much appreciated In fact, after further thought, we would rather not yet have the ability to Keep up the good work
|
Hello, just updated to v0.2.0 because I'm really looking forward to the destination file deletion, but so far it is not working for me. I'm wondering if it has something to do with the fact that my destination is a UNC path...
Here are the relevant parts of my gruntfile.js:
I've tried with pretend true || false, nothing seems to change.
Any help/guidance is appreciated.
The text was updated successfully, but these errors were encountered: