From 5e1fdde631d4b41d7e315a8b6db359a886bd15e1 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 26 Aug 2015 14:53:05 +0800 Subject: [PATCH] fix(grunt): avoid removing dev deps --- Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 2ef7d0809..e837124e0 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -287,7 +287,7 @@ module.exports = (grunt) -> command: "s3cmd sync -rP --guess-mime-type --delete-removed --no-preserve --cf-invalidate --add-header=Cache-Control:max-age=31536000 --exclude '.DS_Store' <%= config.cfg.static_files %> <%= config.cfg.s3_bucket %>" amsf__theme__to_dev_repo: - command: "rsync -avz --delete --progress --exclude=.git <%= amsf.base %>/themes/<%= amsf.theme.current %>/ /Users/sparanoid/Git/amsf-<%= amsf.theme.current %> > rsync-theme-dev.log" + command: "rsync -avz --delete --progress --exclude=.git --exclude=node_modules <%= amsf.base %>/themes/<%= amsf.theme.current %>/ /Users/sparanoid/Git/amsf-<%= amsf.theme.current %> > rsync-theme-dev.log" concurrent: options: