Recompiling the power of some files in the rails resource pipeline

I am using ruby ​​on rails 4.1.9.

Is there a way to define a white list of files that need to be recompiled at any time, even if they do not change?

For example: I have several .js.erb files into which some Rails variables are inserted. Thus, even if the original file does not change, they need to recompile.

+5
source share

All Articles