{"action":"created","issue":{"url":"https://api.github.com/repos/ck86/main-bower-files/issues/88","labels_url":"https://api.github.com/repos/ck86/main-bower-files/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/ck86/main-bower-files/issues/88/comments","events_url":"https://api.github.com/repos/ck86/main-bower-files/issues/88/events","html_url":"https://github.com/ck86/main-bower-files/issues/88","id":77084745,"number":88,"title":"Running Multiple Times","user":{"login":"mcblum","id":1761867,"avatar_url":"https://avatars.githubusercontent.com/u/1761867?v=3","gravatar_id":"","url":"https://api.github.com/users/mcblum","html_url":"https://github.com/mcblum","followers_url":"https://api.github.com/users/mcblum/followers","following_url":"https://api.github.com/users/mcblum/following{/other_user}","gists_url":"https://api.github.com/users/mcblum/gists{/gist_id}","starred_url":"https://api.github.com/users/mcblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcblum/subscriptions","organizations_url":"https://api.github.com/users/mcblum/orgs","repos_url":"https://api.github.com/users/mcblum/repos","events_url":"https://api.github.com/users/mcblum/events{/privacy}","received_events_url":"https://api.github.com/users/mcblum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-16T17:19:45Z","updated_at":"2015-05-16T17:42:28Z","closed_at":null,"body":"I don't know why I can't get this to work... Can I run MBF multiple times using different Bower directories?\r\n```\r\ngulp.task('bower', function() {\r\n\r\n    // set our filters\r\n    var jsFilter = gulpFilter('**/*.js');\r\n    var cssFilter = gulpFilter('**/*.css');\r\n\r\n    return gulp.src(mainBowerFiles(), {\r\n        base:      './bower_components',\r\n        paths: {\r\n            bowerJson: './bower.json'\r\n        }\r\n    })\r\n        .pipe(jsFilter)\r\n        .pipe(concat('vendor.js'))\r\n        .pipe(gulp.dest(dist.js))\r\n        .pipe(jsFilter.restore())\r\n        .pipe(cssFilter)\r\n        .pipe(concat('vendor.css'))\r\n        .pipe(gulp.dest(dist.css))\r\n});\r\n\r\ngulp.task('bowerPublic', function() {\r\n\r\n    // set our filters\r\n    var jsFilter = gulpFilter('**/*.js');\r\n    var cssFilter = gulpFilter('**/*.css');\r\n    return gulp.src(mainBowerFiles(), {\r\n        base:      './public/bower_components',\r\n        paths: {\r\n            bowerJson: './public/bower.json'\r\n        }\r\n    })\r\n        .pipe(jsFilter)\r\n        .pipe(concat('vendor.public.js'))\r\n        .pipe(gulp.dest(dist.js))\r\n        .pipe(jsFilter.restore())\r\n        .pipe(cssFilter)\r\n        .pipe(concat('vendor.public.css'))\r\n        .pipe(gulp.dest(dist.css))\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/ck86/main-bower-files/issues/comments/102658856","html_url":"https://github.com/ck86/main-bower-files/issues/88#issuecomment-102658856","issue_url":"https://api.github.com/repos/ck86/main-bower-files/issues/88","id":102658856,"user":{"login":"mcblum","id":1761867,"avatar_url":"https://avatars.githubusercontent.com/u/1761867?v=3","gravatar_id":"","url":"https://api.github.com/users/mcblum","html_url":"https://github.com/mcblum","followers_url":"https://api.github.com/users/mcblum/followers","following_url":"https://api.github.com/users/mcblum/following{/other_user}","gists_url":"https://api.github.com/users/mcblum/gists{/gist_id}","starred_url":"https://api.github.com/users/mcblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcblum/subscriptions","organizations_url":"https://api.github.com/users/mcblum/orgs","repos_url":"https://api.github.com/users/mcblum/repos","events_url":"https://api.github.com/users/mcblum/events{/privacy}","received_events_url":"https://api.github.com/users/mcblum/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T17:42:27Z","updated_at":"2015-05-16T17:42:27Z","body":"Figured it out! I was passing base twice and if I remove both of those it works. I clearly have no idea what I'm doing. Thanks for making this!"}}