I precompiled all my Javascript files so they can be called from within other pages. However, now Rails precompiles all of the files in vendor every time, even though they rarely change. How do I get it to ignore vendor when precompiling and just use the previous precompiled vendor files?
Here's my code from production.rb:
config.assets.precompile += ['*.js']
Update: I want it to ignore vendor for 2 reasons:
- It takes around 5 minutes to precompile all the files, so I just want it to use the previous ones.
- Even worse, it's unable to precompile one of the files, so I have to redo that file myself.
How can I speed this up and skip those files?