[英]How to apply css changes using IntelliJ with GWT without having to stop/restart program
When using IntelliJ to write a GWT application and testing in hosted mode is there any way to have a CSS change reflected in the execution of the program without having to stop and restart the application? 使用IntelliJ编写GWT应用程序并在托管模式下进行测试时,是否有任何方法可以在程序执行中反映CSS更改,而不必停止并重新启动应用程序? Stopping and restarting is such a slow process it makes one want to use java statements instead of css. 停止和重新启动是一个缓慢的过程,它使人们想使用Java语句而不是CSS。
You can use Run | 您可以使用Run | Update action (Ctrl+F10). 更新动作(Ctrl + F10)。
I generally use firebug for checking the CSS . 我通常使用firebug检查CSS。 I launch the application through intelliJ + firefox and using the firebug modify CSS till i get desired results . 我通过intelliJ + firefox启动该应用程序,并使用firebug修改CSS直到获得期望的结果。
This helped me in Intellij 13. In the menu choose 这对Intellij 13很有帮助。在菜单中选择
> Run
> Edit Configuration
> Select "Update resources on frame deactivation"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.