It also just occurred to me that you could probably get around this issue all together if you precompile your views. Use wp acorn view:cache
prior to deployment. You might consider checking out other commands that generate PHP cache files, such as for configs and providers. Acorn 2.x: WP-CLI | Roots Documentation