{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/128","repository_url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/128/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/128/events","html_url":"https://github.com/gruntjs/grunt-contrib-htmlmin/issues/128","id":151078541,"number":128,"title":"Not Working with latest grunt-cli","user":{"login":"ashutosh-akss","id":11007583,"avatar_url":"https://avatars.githubusercontent.com/u/11007583?v=3","gravatar_id":"","url":"https://api.github.com/users/ashutosh-akss","html_url":"https://github.com/ashutosh-akss","followers_url":"https://api.github.com/users/ashutosh-akss/followers","following_url":"https://api.github.com/users/ashutosh-akss/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-akss/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-akss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-akss/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-akss/orgs","repos_url":"https://api.github.com/users/ashutosh-akss/repos","events_url":"https://api.github.com/users/ashutosh-akss/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-akss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T08:54:05Z","updated_at":"2016-04-29T10:34:50Z","closed_at":"2016-04-29T10:34:50Z","body":"It throws following error in ubuntu 14.04 lts and closes \r\n\r\n```\r\n(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.\r\n```\r\n\r\nOS : Ubuntu 14.04\r\ngrunt-cli v1.2.0\r\ngrunt v0.4.5\r\n\r\ncontents of my gruntfile.js is \r\n\r\n```\r\nmodule.exports = function(grunt) {\r\n\t\r\n\tgrunt.initConfig({\r\n\r\n               htmlmin: {                                     // Task\r\n\t\t    dist: {                                      // Target\r\n\t\t      options: {                                 // Target options\r\n\t\t        removeComments: true,\r\n\t\t        collapseWhitespace: true\r\n\t\t      },\r\n\t\t      files: {                                   \r\n\t\t        'directives-min/conference.html': 'directives/conference.html',\r\n\t\t        'directives-min/contacts.html': 'directives/contacts.html',\r\n\t\t        'directives-min/dialpad.html': 'directives/dialpad.html',\r\n\t\t        'directives-min/dials.html': 'directives/dials.html',\r\n\t\t        'directives-min/groups.html': 'directives/groups.html',\r\n\t\t        'directives-min/logs.html': 'directives/logs.html',\r\n\t\t        'directives-min/oncall.html': 'directives/oncall.html',\r\n\t\t        'directives-min/widget.html': 'directives/widget.html',\r\n\t\t      }\r\n\t\t    },\r\n\t\t    dev:{\r\n\t\t    \tfiles:{\r\n\t\t    \t\t'directives-min/conference.html': 'directives/conference.html',\r\n\t\t\t        'directives-min/contacts.html': 'directives/contacts.html',\r\n\t\t\t        'directives-min/dialpad.html': 'directives/dialpad.html',\r\n\t\t\t        'directives-min/dials.html': 'directives/dials.html',\r\n\t\t\t        'directives-min/groups.html': 'directives/groups.html',\r\n\t\t\t        'directives-min/logs.html': 'directives/logs.html',\r\n\t\t\t        'directives-min/oncall.html': 'directives/oncall.html',\r\n\t\t\t        'directives-min/widget.html': 'directives/widget.html',\r\n\t\t    \t}\r\n\t\t    }\r\n\t\t},\r\n       });\r\n\r\n       grunt.loadNpmTasks('grunt-contrib-htmlmin');\r\n\r\n       grunt.registerTask(\"default\",['htmlmin']);\r\n      grunt.registerTask(\"htmlmin\",['htmlmin']);\r\n\r\n```\r\n\r\nI have tested this on windows also , it goes into infinite loop."},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/comments/215680537","html_url":"https://github.com/gruntjs/grunt-contrib-htmlmin/issues/128#issuecomment-215680537","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-htmlmin/issues/128","id":215680537,"user":{"login":"ashutosh-akss","id":11007583,"avatar_url":"https://avatars.githubusercontent.com/u/11007583?v=3","gravatar_id":"","url":"https://api.github.com/users/ashutosh-akss","html_url":"https://github.com/ashutosh-akss","followers_url":"https://api.github.com/users/ashutosh-akss/followers","following_url":"https://api.github.com/users/ashutosh-akss/following{/other_user}","gists_url":"https://api.github.com/users/ashutosh-akss/gists{/gist_id}","starred_url":"https://api.github.com/users/ashutosh-akss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashutosh-akss/subscriptions","organizations_url":"https://api.github.com/users/ashutosh-akss/orgs","repos_url":"https://api.github.com/users/ashutosh-akss/repos","events_url":"https://api.github.com/users/ashutosh-akss/events{/privacy}","received_events_url":"https://api.github.com/users/ashutosh-akss/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T10:34:50Z","updated_at":"2016-04-29T10:34:50Z","body":"Thanks @janpapenbrock. Yes that was the issue. "}}