天天看點

idea熱部署html頁面,idea熱部署(自動重新整理)

在原先使用eclipse的時候很容易布置了熱部署

但是在idea的使用中寫html的檔案時候總是需要去重新開機浪費了很多時間

是以這篇部落客要講解的是idea的熱部署

配置idea的熱部署需要兩個步驟

一、

在pom檔案中添加依賴

org.springframework.boot

spring-boot-devtools

true

true

org.springframework.boot

spring-boot-maven-plugin

true

二、

設定IDEA的自動編譯:

(1)File-Settings-Compiler勾選 Build Project automatically

(2)快捷鍵 ctrl + shift + alt + /,選擇Registry,勾上 Compiler autoMake allow when app running

這樣我們的idea的熱部署就完成了!

本文分享 CSDN - msfh。

如有侵權,請聯系 [email protected] 删除。

本文參與“OSC源創計劃”,歡迎正在閱讀的你也加入,一起分享。