grunt-sync
Advanced tools
Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "grunt-sync", | ||
"description": "Task to synchronize two directories. Similar to grunt-copy but updates only files that have been changed.", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"homepage": "https://github.com/tomusdrw/grunt-sync.git", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -75,2 +75,3 @@ # Grunt-sync | ||
## Changelog | ||
* 0.5.0 - Synchronous removal of directories (to avoid race conditions) | ||
* 0.4.0 - Adding better patterns support for `ignoreInDest` | ||
@@ -77,0 +78,0 @@ * 0.3.0 - Comparison using md5 hash of file contents or modification time |
@@ -261,3 +261,3 @@ var fs = require('promised-io/fs'); | ||
return promise.all(sortedDirs.map(function (dir) { | ||
return sortedDirs.map(function (dir) { | ||
logger.writeln('Removing dir ' + dir.cyan + ' because not longer in src.'); | ||
@@ -267,4 +267,4 @@ if (justPretend) { | ||
} | ||
return fs.rmdir(dir); | ||
})); | ||
return fs.rmdirSync(dir); | ||
}); | ||
}); | ||
@@ -271,0 +271,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18388
105