According to my issue #211 , I wrote a deadly simple fix to avoid EMFILE error.
Instead of read the template file with fs module, simple require it as a raw JavaScript object.
Then, inject the template if the given configuration does not contains one.
According to my issue #211 , I wrote a deadly simple fix to avoid
EMFILE
error.Instead of read the template file with
fs
module, simple require it as a raw JavaScript object. Then, inject the template if the given configuration does not contains one.