Hangs on missing HTML files
TheHalcyonSavant opened this issue · comments
Deni Kotsev commented
When the specified files can't be found by the multitask src
configuration pattern, then jsbeautifier task starts some infinite loop in the background and it doesn't return immediately. To reproduce this bug, just use the following simple HTML configuration:
jsbeautifier: {
html: {
src: ["app/views/*.html"]
}
}
and leave the src
folder empty.
Now, try run grunt jsbeautifier:html
and it'll never return - will hang forever.
Darko commented
same issue here. We did a workaround by adding a dummy file into the empty folder, but this is a bad hack (even if it helps to workaround it)
Vishal Kadam commented