Have JSHint depend on the files it includes. Doesn't work for adding files but it helps

a lot in development mode.
This commit is contained in:
Robin Ward 2013-07-23 13:17:42 -04:00
parent d8978cb4a0
commit b9a5a0460d

View file

@ -165,6 +165,8 @@ var jsHintOpts = {
ok = false if (filename =~ ig)
end
depend_on filename
result << "qHint('#{filename}', '/assets/#{filename}', jsHintOpts);\n" if ok
end