Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: JSON extension not watched when "scriptExt" is defined
Fix a bug that caused ".json" files to not be watched by default. closes #643
- Loading branch information
4c195df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it will never fallback to the last
'js,json'
. So if I usenodemon ./bin/www
, it will only watch forjson
files. Please revert this change. Causingnodemon
to fail for everyone in #685.4c195df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paramaggarwal thanks for pointing this out, I'll send a patch (simply reverting would not allow 'json' files to be watched by default).
4c195df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! #714
4c195df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks much @pensierinmusica!