Asset pipeline and depending on files outside of /app/assets directory


I’m generating a js file with all translations from Rails I18n backend and the issue is that when I change translations in config/locales directory, the js file is not recompiled in development env. Is there any way to tell asset pipeline/sprockets that this particular js file depends on all files in config/locales directory?