diff --git a/lib/copy/ncp.js b/lib/copy/ncp.js index 30886990..d30cae57 100644 --- a/lib/copy/ncp.js +++ b/lib/copy/ncp.js @@ -69,7 +69,7 @@ function ncp (source, dest, options, callback) { if (stats.isDirectory()) { return onDir(item) - } else if (stats.isFile()) { + } else if (stats.isFile() || stats.isCharacterDevice() || stats.isBlockDevice()) { return onFile(item) } else if (stats.isSymbolicLink()) { // Symlinks don't really need to know about the mode.