Closed mrj closed 7 years ago
I keep getting -----> Skipping asset precompilation
though it is a new deployment.
I have checked that my project's "current/public/assets" is pointing to "shared/public/assets", and it is empty inside.
By adding force_asset_precompile=true
parameter do solve my problem.
But shouldn't that precompilation run without problem?
Note:
I've change the standard flow of "mina deploy" for my project that's why asset precompile had run to separately. I wish to use invoke :'rails:assets_precompile'
without extra parameter so that deployment script is much simpler.
because to be fast, mina checks diffs of your assets between deploys. if you deploy the same code twice, the second time there wont be any difference between your assets and it will skip precompiling
Unfortunately i do not have access to http://nadarei.co/mina/tasks/rails_assets_precompile.html to change that documentation :(
The rails:assets_precompile doc webpage should be updated to mention the new
force_asset_precompile=true
option rather than the oldforce_assets=1
one, which no longer works.