{"action":"opened","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-changed/issues/22","labels_url":"https://api.github.com/repos/sindresorhus/gulp-changed/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-changed/issues/22/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-changed/issues/22/events","html_url":"https://github.com/sindresorhus/gulp-changed/issues/22","id":55582596,"number":22,"title":"allow multiple dest function calls","user":{"login":"gfaceless","id":4374439,"avatar_url":"https://avatars.githubusercontent.com/u/4374439?v=3","gravatar_id":"","url":"https://api.github.com/users/gfaceless","html_url":"https://github.com/gfaceless","followers_url":"https://api.github.com/users/gfaceless/followers","following_url":"https://api.github.com/users/gfaceless/following{/other_user}","gists_url":"https://api.github.com/users/gfaceless/gists{/gist_id}","starred_url":"https://api.github.com/users/gfaceless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfaceless/subscriptions","organizations_url":"https://api.github.com/users/gfaceless/orgs","repos_url":"https://api.github.com/users/gfaceless/repos","events_url":"https://api.github.com/users/gfaceless/events{/privacy}","received_events_url":"https://api.github.com/users/gfaceless/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T06:51:39Z","updated_at":"2015-01-27T06:51:39Z","closed_at":null,"body":"When setting `dest` as a function, I may want to generate `dest` dynamically:\r\n```\r\n// due to complicated or bad structure\r\nfunction(file){\r\n  return newPath( file )\r\n}\r\n```\r\nCurrently if `dest` is passed as a function, it is called only once, and that call's result is used ever since. Maybe we should allow multiple call to `dest` function. (it is the same behavior as `gulp.dest`)\r\n\r\nFor now I'm using a local variable copy of `dest` to do this. [Link](https://github.com/gfaceless/gulp-changed/compare/sindresorhus:master...master)."}}