{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/100","repository_url":"https://api.github.com/repos/sindresorhus/gulp-rev","labels_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/100/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/100/events","html_url":"https://github.com/sindresorhus/gulp-rev/issues/100","id":71701192,"number":100,"title":"Question about merge support for two tasks","user":{"login":"fchristant","id":228781,"avatar_url":"https://avatars.githubusercontent.com/u/228781?v=3","gravatar_id":"","url":"https://api.github.com/users/fchristant","html_url":"https://github.com/fchristant","followers_url":"https://api.github.com/users/fchristant/followers","following_url":"https://api.github.com/users/fchristant/following{/other_user}","gists_url":"https://api.github.com/users/fchristant/gists{/gist_id}","starred_url":"https://api.github.com/users/fchristant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchristant/subscriptions","organizations_url":"https://api.github.com/users/fchristant/orgs","repos_url":"https://api.github.com/users/fchristant/repos","events_url":"https://api.github.com/users/fchristant/events{/privacy}","received_events_url":"https://api.github.com/users/fchristant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2015-04-28T21:02:46Z","updated_at":"2016-10-24T17:11:42Z","closed_at":null,"body":"I have seen the following comment...\r\n\r\nhttps://github.com/sindresorhus/gulp-rev/pull/77#issuecomment-68076646\r\n\r\n...yet am still confused about how to realize my merge situation, or whether it is supported. I have two individual gulp tasks, yet I want both to output to the same manifest file. Here's my code:\r\n```javascript\r\ngulp.task('styles', function() {\r\n    return gulp.src('css/*.css')\r\n  .pipe(minifycss())\r\n  .pipe(gzip({ append: false }))\r\n  .pipe(rev())\r\n  .pipe(gulp.dest('assets'))\r\n  .pipe(rev.manifest('manifest.json',{\r\n            base: './',\r\n            merge: true // merge with the existing manifest (if one exists) \r\n        }))\r\n  .pipe(gulp.dest('system/application/config/'));\r\n});\r\n\r\ngulp.task('scripts', function() {\r\n    return gulp.src('js/*.js')\r\n  .pipe(uglify())\r\n  .pipe(gzip({ append: false }))\r\n  .pipe(rev())\r\n  .pipe(gulp.dest('assets'))\r\n  .pipe(rev.manifest('manifest.json',{\r\n            base: './',\r\n            merge: true // merge with the existing manifest (if one exists) \r\n        }))\r\n  .pipe(gulp.dest('system/application/config/'));\r\n});\r\n```\r\nSo these are 2 individual tasks that are ran independently and sometimes after each other. I'd like them to output to a single, merged manifest. Note that the manifest is in a different directory from the actual revved files. Both the assets and manifest end up in the correct directory, yet the manifest does not merge, it is overwritten by either task.\r\n\r\nAny help is welcome."},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/comments/255803361","html_url":"https://github.com/sindresorhus/gulp-rev/issues/100#issuecomment-255803361","issue_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/100","id":255803361,"user":{"login":"thany","id":152227,"avatar_url":"https://avatars.githubusercontent.com/u/152227?v=3","gravatar_id":"","url":"https://api.github.com/users/thany","html_url":"https://github.com/thany","followers_url":"https://api.github.com/users/thany/followers","following_url":"https://api.github.com/users/thany/following{/other_user}","gists_url":"https://api.github.com/users/thany/gists{/gist_id}","starred_url":"https://api.github.com/users/thany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thany/subscriptions","organizations_url":"https://api.github.com/users/thany/orgs","repos_url":"https://api.github.com/users/thany/repos","events_url":"https://api.github.com/users/thany/events{/privacy}","received_events_url":"https://api.github.com/users/thany/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T17:11:42Z","updated_at":"2016-10-24T17:11:42Z","body":"Issue persists on whatever the latest version is today."}}
{"actor":{"display_login":"thany"}}