Hi folks, looking to have my commandbox project au...
# box-products
j
Hi folks, looking to have my commandbox project auto refresh the page on save. Google is coming up short - is there anything reasonable available for this? There seem tbe options for .html files on vscode. Thanks!
b
This sounds like it has nothing to do with CommandBox?
You just need a browser refresh plugin for your IDE, no?
j
Yeah I have live server running already.
Hi folks, some more background - I was looking to see if commandbox or coldbox can initiate browser refreshes from the ide/server side when files are saved in the ide. Vscode’s live server plugin auto-refreshes the browser on save without a browser plug-in. It’s focused on html files and not so much server side technologies but can be extended (below). As examples, Laravel and it’s CLI are capable of a IDE driven hot reloading without needing to install a browser refresh plugin. Laravel Mix: https://laravel-mix.com/docs/6.0/browsersync Laravel Vite: https://laravel-news.com/laravel-blade-hot-refresh-with-vite Flutter also initiates hot-reloads by the IDE: https://docs.flutter.dev/development/tools/hot-reload The live server browser plug-in does allow mapping a commandbox port to the plugins live server port so one updates the other but it appears to require changing the port per project, which I’m trying to avoid. It sounds like I’ve got my answer.. just helping someone new into CF and they come from a hot reload world.