Hot-deploy SCSS changes made in IntelliJ IDEA


is it possible to let IntelliJ IDEA compile any SCSS file changes (i.e. halo-ext.scss) and let them be hot-deployed by CUBA Studio? For now it seems I have to restart Tomcat everytime I make a change to those files and this is very time-consuming.

Thanks in advance.


you can use deployThemes task. deployThemes builds and deploys themes defined in the project to the running web application deployed by the deploy task. Changes in the themes are applied without the server restart. It is defined in your build.gradle if you’ve created extended SCSS theme.

> gradle deployThemes

Or you can trigger it from Studio Search box.

Do not forget to clear/reset browser cache using Ctrl-F5/Shift-F5 in your browser to see your changes.