I gulp while I'm modifying files/styles and push the compiled assets... Elixir won't update compiled assets unless something has changed. Why do you do it on the server?
Dec 8, 2015
4
Level 3
Elixir best practices: run on every deploy?
First of all, I use Elixir with a lot of pleasure. Love the automation and simplicity of the tool.
However, I find myself running it on every deploy (using Envoyer). This not only consumes a lot of time (npm install can take up to 5 minutes in my case) but seems also pretty unnecessary. I don't always update any of my assets, but on every deploy my script runs and re-generates all assets.
One could argue I can just run Envoyer locally and commit the assets, but this feels wrong (although that is totally subjective).
What do you guys think are best practises here?
Please or to participate in this conversation.