Permalink
Browse files

Fixed issue #1, update exclusions with regex.

  • Loading branch information...
1 parent 6413d5b commit b0f030aa2a399b8f6aa6a2720e68cc0aec0895f3 shallker.wang committed Jan 15, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/livereload.coffee
  2. +2 −2 lib/livereload.js
View
@@ -12,7 +12,7 @@ defaultExts = [
'php', 'php5', 'py', 'rb', 'erb'
]
-defaultExclusions = ['.git/', '.svn/', '.hg/']
+defaultExclusions = [/\.git\//, /\.svn\//, /\.hg\//]
class Server
constructor: (@config) ->
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit b0f030a

Please sign in to comment.