sutoiku/jsdox — pull request #12 by mmacmillan (2014-01-25 03:49:39+00:00)
Title: Added additional handling to generateForDir() to support serial/parallel execution

generateForDir() didn't fire the callback in cases when no files were processed, or the directory could not be read. an example of how jsdox may be used for generating docs for a list of folders in serial can be found here:

https://gist.github.com/mmacmillan/8611517

it shows how directories that don't exist, or directories that have no .js files will not fire the callback, making it difficult to determine if the process has finished.