Speeding Up JS Inspections

Hi,

I am using this blog post as a guide:
http://blog.jetbrains.com/teamcity/2012/06/javascript-code-inspection-server-side/

To setup JS / CSS / HTML inspections. I have got it working quite well.

My question is, is it better to have these inspections all run under separate build steps (with separate scopes), or is the Inspections runner smart enough to not run, for example, HTML inspections on a *.js file?

I have noticed that a lot of the time on these build steps is spend just "Starting up IntelliJ IDEA 12.1.6" so if possible, I think it would be quicker to run one scope, with all my HTML, CSS, and JS files in it, and setup one inspection on that scope (and subsequently one build step).

Is this possible, or do you have to run isolated scopes and inspections for each file type?

Please sign in to leave a comment.