{"action":"created","issue":{"url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/4","repository_url":"https://api.github.com/repos/floatdrop/gulp-watch","labels_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/4/comments","events_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/4/events","html_url":"https://github.com/floatdrop/gulp-watch/issues/4","id":25892581,"number":4,"title":"Support deleting removed or renamed files","user":{"login":"xixixao","id":1473433,"avatar_url":"https://avatars.githubusercontent.com/u/1473433?v=3","gravatar_id":"","url":"https://api.github.com/users/xixixao","html_url":"https://github.com/xixixao","followers_url":"https://api.github.com/users/xixixao/followers","following_url":"https://api.github.com/users/xixixao/following{/other_user}","gists_url":"https://api.github.com/users/xixixao/gists{/gist_id}","starred_url":"https://api.github.com/users/xixixao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xixixao/subscriptions","organizations_url":"https://api.github.com/users/xixixao/orgs","repos_url":"https://api.github.com/users/xixixao/repos","events_url":"https://api.github.com/users/xixixao/events{/privacy}","received_events_url":"https://api.github.com/users/xixixao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2014-01-20T00:14:10Z","updated_at":"2016-12-20T05:17:59Z","closed_at":"2014-01-21T10:29:16Z","body":"``` javascript\nvar gulp = require('gulp');\nvar sass = require('gulp-sass');\nvar watch = require('gulp-watch');\n\ngulp.task('default', function() {\n    return gulp.src('./sass/*.scss')\n        .pipe(watch())\n        .pipe(sass())\n        .pipe(gulp.dest('./dist/'));\n});\n```\n\nIt would be cool if output files of renamed or removed files got deleted (maybe automatically?). Would this be possible to implement with current gulp?\n\nEdit: This of course is not simple, as the output name must be known, possibly requiring something from every gulp-plugin (I haven't gone through the API). If this requires changes in gulp I'll elevate the issue.\n\nEdit2: For example, https://github.com/wearefractal/gulp-coffee/blob/master/index.js#L9 is just passing the file on, if it is null, without changing the extension.\n"},"comment":{"url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/comments/268157375","html_url":"https://github.com/floatdrop/gulp-watch/issues/4#issuecomment-268157375","issue_url":"https://api.github.com/repos/floatdrop/gulp-watch/issues/4","id":268157375,"user":{"login":"eksperimental","id":9133420,"avatar_url":"https://avatars.githubusercontent.com/u/9133420?v=3","gravatar_id":"","url":"https://api.github.com/users/eksperimental","html_url":"https://github.com/eksperimental","followers_url":"https://api.github.com/users/eksperimental/followers","following_url":"https://api.github.com/users/eksperimental/following{/other_user}","gists_url":"https://api.github.com/users/eksperimental/gists{/gist_id}","starred_url":"https://api.github.com/users/eksperimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eksperimental/subscriptions","organizations_url":"https://api.github.com/users/eksperimental/orgs","repos_url":"https://api.github.com/users/eksperimental/repos","events_url":"https://api.github.com/users/eksperimental/events{/privacy}","received_events_url":"https://api.github.com/users/eksperimental/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T05:17:59Z","updated_at":"2016-12-20T05:17:59Z","body":"@UltCombo well, after testing it for a while, renaming a dir never creates the \"unlink\" event. it behaves differently that when a file is renamed. which creates \"add\"  and \"unlink\". any way to solve this?"}}
{"actor":{"display_login":"eksperimental"}}