Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs on missing HTML files #51

Closed
TheHalcyonSavant opened this issue Oct 13, 2015 · 2 comments
Closed

Hangs on missing HTML files #51

TheHalcyonSavant opened this issue Oct 13, 2015 · 2 comments

Comments

@TheHalcyonSavant
Copy link

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.

@dpalic
Copy link

dpalic commented Oct 15, 2015

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)

@vkadam
Copy link
Owner

vkadam commented Apr 9, 2016

Fixed with upgrade of async dependency in commit e48b8fd, test added in commit ccfd245. Will be available with version 0.2.12
This makes #53 not required.

@vkadam vkadam closed this as completed Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants