intesso / connect-livereload

connect middleware for adding the livereload script to the response
MIT License
305 stars 53 forks source link

Exclude extensions refactor #77

Open Kreozot opened 7 years ago

Kreozot commented 7 years ago

Two changes:

  1. Move exclude extensions to array and map it with regexp. So now it is much more readable and easy to add new extensions
  2. Added exclude extensions for archives: zip, rar, tar, gz. (It is related to #39 )