It seems that mina does not detect asset changes and therefore skips precompilation when the changes have only occured in included gems (Rails engines).
So far we solve this oversight by forcing precompilation selectively with a check in deploy block
deploy do
if hash.extras.include?("compile")
invoke :'rails:assets_precompile:force'
else
invoke :'rails:assets_precompile'
end
end
And running
Is there any configuration to be done to expose mina to asset changes in gems or is this a feature yet to be developed?
It seems that mina does not detect asset changes and therefore skips precompilation when the changes have only occured in included gems (Rails engines).
So far we solve this oversight by forcing precompilation selectively with a check in deploy block
And running
Is there any configuration to be done to expose mina to asset changes in gems or is this a feature yet to be developed?