mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
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:
parent
d8978cb4a0
commit
b9a5a0460d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue