question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`overwrite` option in `.dest()`

See original GitHub issue

It would be useful if .dest() had an option to not overwrite existing files.

Use-case: You build a lot of stuff into a dist folder and you want a task to copy all the files that weren’t already processed by the pipeline. Yes you could do some trickery with streams, but this would be much easier.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yocontracommented, Feb 23, 2015

closed by #59 - use master or it will be out in the 4.0 release

1reaction
yocontracommented, Feb 16, 2015

Instead of +1 maybe you should think about sending a pull request…

Read more comments on GitHub >

github_iconTop Results From Across the Web

dest() - gulp.js
When directory is an empty string, throws an error with the message, "Invalid dest() folder argument. Please specify a non-empty string or a...
Read more >
EEXIST error when trying to overwrite an existing file in Gulp?
dest() expects a directory. You're passing it a file name. What happens is that gulp tries to create the directory app/index.html , which...
Read more >
How do you copy files with overwrite? - TechNet - Microsoft
use a command window and run xcopy. use the /y paramater. /Y Suppresses prompting to confirm you want to overwrite an existing destination...
Read more >
How to Overwrite a File in Python? (5 Best Methods with Code)
Learn how to overwrite a file in python with code. This includes methods like os.remove(), seek() and truncate(),replace() and more.
Read more >
Smart Overwrite options
Overwrite : Select this option and if a file in the destination folder has the same name as the file you are transferring...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found