Permalink
Browse files

Allow minified files to fire update event if they are included within

other source files
  • Loading branch information...
1 parent 3fbd37b commit c5eba84b72a339509b74f98dde70f6e530f6d4c0 @apcomplete apcomplete committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jswatchr/monitor.py
View
@@ -86,7 +86,7 @@ def file_modified(event):
"""
react to file events
"""
- if re.match(config.file_regex,event.name):
+ if re.match(config.file_regex,event.name) or (event.name in config.sources.keys()):
print "Change detected to: %s" % (event.name)
parse.parse_file(config.sources[event.name])

0 comments on commit c5eba84

Please sign in to comment.