{"action":"created","issue":{"url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/14","repository_url":"https://api.github.com/repos/hustxiaoc/gulp-minify","labels_url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/14/comments","events_url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/14/events","html_url":"https://github.com/hustxiaoc/gulp-minify/issues/14","id":166884974,"number":14,"title":"ignoreFiles doesn't work","user":{"login":"OZZlE","id":893783,"avatar_url":"https://avatars.githubusercontent.com/u/893783?v=3","gravatar_id":"","url":"https://api.github.com/users/OZZlE","html_url":"https://github.com/OZZlE","followers_url":"https://api.github.com/users/OZZlE/followers","following_url":"https://api.github.com/users/OZZlE/following{/other_user}","gists_url":"https://api.github.com/users/OZZlE/gists{/gist_id}","starred_url":"https://api.github.com/users/OZZlE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OZZlE/subscriptions","organizations_url":"https://api.github.com/users/OZZlE/orgs","repos_url":"https://api.github.com/users/OZZlE/repos","events_url":"https://api.github.com/users/OZZlE/events{/privacy}","received_events_url":"https://api.github.com/users/OZZlE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T18:20:33Z","updated_at":"2016-07-21T18:27:46Z","closed_at":null,"body":"I have the following:\r\n```\r\ngulp.task('build-js', function() {\r\n    return gulp.src(['js/src/**/*.js', '!JS_TEMPLATE_FULL.js, !JS_TEMPLATE_MIN.js'])\r\n        .pipe(plumber(function (error) {\r\n            gutil.log(error.message);\r\n            this.emit('end');\r\n        }))\r\n        .pipe(minify({\r\n            noSource: false,\r\n            ignoreFiles: ['min.js']\r\n        }))\r\n        .pipe(gulp.dest('js/dist'))\r\n        .pipe(browserSync.reload({stream:true}))\r\n        ;\r\n});\r\n```\r\n\r\nI've tried with: ignoreFiles: ['min.js'] and ignoreFiles: ['.min.js'] (my files are .min) but it still minifies those and appends the -min.js to the file name"},"comment":{"url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/comments/234341473","html_url":"https://github.com/hustxiaoc/gulp-minify/issues/14#issuecomment-234341473","issue_url":"https://api.github.com/repos/hustxiaoc/gulp-minify/issues/14","id":234341473,"user":{"login":"OZZlE","id":893783,"avatar_url":"https://avatars.githubusercontent.com/u/893783?v=3","gravatar_id":"","url":"https://api.github.com/users/OZZlE","html_url":"https://github.com/OZZlE","followers_url":"https://api.github.com/users/OZZlE/followers","following_url":"https://api.github.com/users/OZZlE/following{/other_user}","gists_url":"https://api.github.com/users/OZZlE/gists{/gist_id}","starred_url":"https://api.github.com/users/OZZlE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OZZlE/subscriptions","organizations_url":"https://api.github.com/users/OZZlE/orgs","repos_url":"https://api.github.com/users/OZZlE/repos","events_url":"https://api.github.com/users/OZZlE/events{/privacy}","received_events_url":"https://api.github.com/users/OZZlE/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T18:27:46Z","updated_at":"2016-07-21T18:27:46Z","body":"sorry my misstake"}}
{"actor":{"display_login":"OZZlE"}}