From ff0f2332a1cd3df67234c2dc2e09fe1fb4855f5d Mon Sep 17 00:00:00 2001 From: Andreas Pieber Date: Thu, 19 Dec 2013 13:39:47 +0100 Subject: [PATCH] Fixes the deletion of the target directory after installation Looking into the documentation of the grunt-bower-task we read: options.cleanTargetDir: Will clean target dir BEFORE running install. options.cleanBowerDir: Will remove bower's dir AFTER copying all needed files into target dir. Therefore, what we really want is cleanTargetDir instead of cleanBowerDir --- config/plugins/bower.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plugins/bower.coffee b/config/plugins/bower.coffee index 6f57341..56f3572 100644 --- a/config/plugins/bower.coffee +++ b/config/plugins/bower.coffee @@ -13,4 +13,4 @@ module.exports = (lineman) -> install: options: targetDir: "vendor/bower" - cleanBowerDir: true + cleanTargetDir: true