{"action":"closed","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/1541","repository_url":"https://api.github.com/repos/gulpjs/gulp","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/1541/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/1541/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/1541/events","html_url":"https://github.com/gulpjs/gulp/issues/1541","id":136846272,"number":1541,"title":"Gulp 4 - Task with same name as function results in a \"task did not complete\" error","user":{"login":"marcospgp","id":3464445,"avatar_url":"https://avatars.githubusercontent.com/u/3464445?v=3","gravatar_id":"","url":"https://api.github.com/users/marcospgp","html_url":"https://github.com/marcospgp","followers_url":"https://api.github.com/users/marcospgp/followers","following_url":"https://api.github.com/users/marcospgp/following{/other_user}","gists_url":"https://api.github.com/users/marcospgp/gists{/gist_id}","starred_url":"https://api.github.com/users/marcospgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcospgp/subscriptions","organizations_url":"https://api.github.com/users/marcospgp/orgs","repos_url":"https://api.github.com/users/marcospgp/repos","events_url":"https://api.github.com/users/marcospgp/events{/privacy}","received_events_url":"https://api.github.com/users/marcospgp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T23:43:53Z","updated_at":"2016-03-01T22:22:12Z","closed_at":"2016-03-01T22:22:12Z","body":" I just spent a few hours trying to find out why my sass task was not completing. When I tried changing the name of the function to sassCpl (with the task in turn becoming `gulp.task('sass', sassCpl)`) it stopped returning an error and functioned normally.\r\n\r\n Maybe this should be mentioned somewhere? Or maybe fixed? I understand the redundancy of it given that in this case `gulp.task('sass')` should be enough, but users should be aware that `gulp.task('sass', sass)` doesn't work."}}