{"action":"created","issue":{"url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/55","labels_url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/55/comments","events_url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/55/events","html_url":"https://github.com/sun-zheng-an/gulp-shell/issues/55","id":93482725,"number":55,"title":"add clarification to the README","user":{"login":"contra","id":425716,"avatar_url":"https://avatars.githubusercontent.com/u/425716?v=3","gravatar_id":"","url":"https://api.github.com/users/contra","html_url":"https://github.com/contra","followers_url":"https://api.github.com/users/contra/followers","following_url":"https://api.github.com/users/contra/following{/other_user}","gists_url":"https://api.github.com/users/contra/gists{/gist_id}","starred_url":"https://api.github.com/users/contra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contra/subscriptions","organizations_url":"https://api.github.com/users/contra/orgs","repos_url":"https://api.github.com/users/contra/repos","events_url":"https://api.github.com/users/contra/events{/privacy}","received_events_url":"https://api.github.com/users/contra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-07T09:24:13Z","updated_at":"2015-07-10T04:13:50Z","closed_at":null,"body":"https://github.com/google/material-design-lite/issues/790\r\n\r\nPeople are using this in weird ways, can you add a clarification to the README that this module should only be used if:\r\n\r\n- you need to run one command per file in the stream\r\n- you need templating per file in the stream\r\n\r\nand to use child_process otherwise?\r\n\r\nEmpty globs will start throwing errors in 4.0 as well. Thanks! "},"comment":{"url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/comments/120220971","html_url":"https://github.com/sun-zheng-an/gulp-shell/issues/55#issuecomment-120220971","issue_url":"https://api.github.com/repos/sun-zheng-an/gulp-shell/issues/55","id":120220971,"user":{"login":"sun-zheng-an","id":5938782,"avatar_url":"https://avatars.githubusercontent.com/u/5938782?v=3","gravatar_id":"","url":"https://api.github.com/users/sun-zheng-an","html_url":"https://github.com/sun-zheng-an","followers_url":"https://api.github.com/users/sun-zheng-an/followers","following_url":"https://api.github.com/users/sun-zheng-an/following{/other_user}","gists_url":"https://api.github.com/users/sun-zheng-an/gists{/gist_id}","starred_url":"https://api.github.com/users/sun-zheng-an/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sun-zheng-an/subscriptions","organizations_url":"https://api.github.com/users/sun-zheng-an/orgs","repos_url":"https://api.github.com/users/sun-zheng-an/repos","events_url":"https://api.github.com/users/sun-zheng-an/events{/privacy}","received_events_url":"https://api.github.com/users/sun-zheng-an/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T04:13:50Z","updated_at":"2015-07-10T04:13:50Z","body":"> Why not make another module that simply runs a command that wraps child_process.exec?\r\n\r\nBecause it's weird to include two different module for running shell command in `gulp`.\r\n\r\n> We are erroring on empty src streams in gulp 4.0 so what you are recommending is broken, and we actively tell people not to follow this anti-pattern.\r\n\r\nI tell people use this anti-pattern just for convenience (I know it's weird, but it works for a long time).\r\n\r\nCan I tell people to use `gulp.src('.')` instead if the `gulp.src('')` will explode in 4.0? I hope they can update to 4.0 smoothly instead of changing much code."}}