{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/32","labels_url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/32/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/32/events","html_url":"https://github.com/sindresorhus/gulp-vulcanize/issues/32","id":92349378,"number":32,"title":"gulp-vulcanize not working in gulp but works in global (command line)","user":{"login":"wizztjh","id":462417,"avatar_url":"https://avatars.githubusercontent.com/u/462417?v=3","gravatar_id":"","url":"https://api.github.com/users/wizztjh","html_url":"https://github.com/wizztjh","followers_url":"https://api.github.com/users/wizztjh/followers","following_url":"https://api.github.com/users/wizztjh/following{/other_user}","gists_url":"https://api.github.com/users/wizztjh/gists{/gist_id}","starred_url":"https://api.github.com/users/wizztjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizztjh/subscriptions","organizations_url":"https://api.github.com/users/wizztjh/orgs","repos_url":"https://api.github.com/users/wizztjh/repos","events_url":"https://api.github.com/users/wizztjh/events{/privacy}","received_events_url":"https://api.github.com/users/wizztjh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T10:56:03Z","updated_at":"2015-07-01T11:00:43Z","closed_at":"2015-07-01T11:00:43Z","body":"gulp-vulcanize generated this\r\n\r\n``` html\r\n<html><head><meta charset=\"UTF-8\"></head><body></body></html>\r\n```\r\n\r\nI did not receive any error\r\n\r\nwhen I run the command in  command line `vulcanize dist/mr-ml.local.html`. It works correctly.\r\n\r\n`gulp.js`\r\n``` javascript\r\ngulp.task('html', ['copy','js'], function () {\r\n  gulp.src('dist/mr-ml.local.html')\r\n    .pipe($.vulcanize({\r\n      abspath: '',\r\n      excludes: [],\r\n      stripExcludes: false\r\n    }))\r\n    .pipe($.rename('mr-ml.html'))\r\n    .pipe(gulp.dest('dist'))\r\n    .on(\"error\", function (err) { console.log(\"Error: \" + err.message); })\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/comments/117606684","html_url":"https://github.com/sindresorhus/gulp-vulcanize/issues/32#issuecomment-117606684","issue_url":"https://api.github.com/repos/sindresorhus/gulp-vulcanize/issues/32","id":117606684,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T11:00:43Z","updated_at":"2015-07-01T11:00:43Z","body":"From the top of the readme:\r\n\r\n> *Issues with the output should be reported on the `Vulcanize` [issue tracker](https://github.com/Polymer/vulcanize/issues).*\r\n\r\n-\r\n\r\nIt working through the command-line, doesn't mean it's something wrong with this plugin. The vulcanize API doesn't work exactly like its CLI."}}