Right now I need to delete my base template and others (the .php file generated by Volt) every time I made some change in my editor.
How can I automate this process via dependency injection or something else, so the rebuilding is done every time on every page reload/refresh in the browser?
I hope there is some solution, because it's nice that is cached in the final app, but during the development I need to see the cahnges straight ahead and not only after I delete the base.phtml.php.
Btw. this is my code in the boostrap file:
//Setup the view component
$di->set('view', function(){
$view = new \Phalcon\Mvc\View();
$view->setViewsDir('../app/views/');
$view->registerEngines(array(
".phtml" => 'Phalcon\Mvc\View\Engine\Volt'
));
return $view;
});