moyus / laravel-mix-nunjucks

Laravel Mix extension to compile Nunjucks templates
MIT License
11 stars 5 forks source link

File watching broken in 1.2.0 #11

Closed Niksac closed 2 years ago

Niksac commented 2 years ago

There is another problem in ver. 1.2.0:

ReferenceError: destFile is not defined at NunjucksTask.onChange

Canging destFile.delete(); to distFile.delete(); seems to fix it. Did not test directories though.

moyus commented 2 years ago

Fixed in v1.2.1