当前位置:网站首页>Idea implements hot deployment
Idea implements hot deployment
2022-06-25 20:46:00 【Nishino_ shou】
One 、 Turn on IDEA Automatic compilation of ( static state )
Hold down ctrl+alt+S open setting Set up

Two 、 Turn on IDEA Automatic compilation of ( dynamic )
Press and hold at the same time Ctrl + Shift + Alt + / Then enter Registry , Check auto compile and adjust delay parameters .

- compiler.automake.allow.when.app.running -> Automatic compilation
- compile.document.save.trigger.delay -> Automatically update files
PS: Few people on the Internet mention compile.document.save.trigger.delay It is mainly for static files such as JS CSS Update , After reducing the delay time , Directly by F5 Refresh the page to see the effect !
3、 ... and 、 Turn on IDEA Hot deployment strategy for ( It's very important )

Four 、 Add heating deployment plug-ins in the project ( Optional )
reminder :
If you are overstaffed because of the old project , It leads to the slow automatic hot restart every time, which affects the development efficiency , It is suggested that we should go directly to POM removespring-boot-devtoolsrely on , And then use Control+Shift+F9 Manual start-up free quick update !!

notes : At first, it directly adopted pom Configuration mode for hot deployment , But the discovery didn't work . Probably reserved
<optional>true</optional>
But the specific reasons have not been explored in depth , If a friend finds out about this problem , Please leave a message .
5、 ... and 、 Turn off browser caching ( important )
Open Google browser , open F12 Of Network Options bar , Then check it out. 【】Disable cache

The general content is reproduced from
The original author :yizhiwazi
link :https://www.jianshu.com/p/f658fed35786
source : Simple books
The copyright belongs to the author . Commercial reprint please contact the author for authorization , Non-commercial reprint please indicate the source .
边栏推荐
- Dice、Sensitivity、ppv、miou
- Chrome plugin installation
- Web components series (11) -- realizing the reusability of mycard
- Yolov4 improved version comes out! Yolov4 extended edition! Yolov4 launched scaled-yolov4: scaling cross stage partial network
- Install and initialize MySQL (under Windows)
- Uncover n core 'black magic' of Presto + alluxio
- Png to NII
- Splunk series: Splunk data import (II)
- Lesson 1 Preparation
- Boomfilter learning
猜你喜欢
A new paradigm for large model application: unified feature representation optimization (UFO)

Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
R language quantile autoregressive QAR analysis pain index: time series of unemployment rate and inflation rate

One picture to achieve the selected effect

Splunk series: Splunk data import (II)
Great changes in the interaction between people and the digital world
Tencent music knowledge map search practice

Several methods of obtaining function annotation text on pycharm

Besides using hackbar, how can I make post requests
laf. JS - open source cloud development framework (readme.md)
随机推荐
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
ZK implementation of distributed global counter for cursor application scenario analysis
Day 28/100 CI CD basic introductory concepts
Splunk series: Splunk data import (II)
A simple file searcher
Cvpr2019 | the latest cvpr2019 papers are the first to read!
Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
Leetcode daily question - 27 Remove element (simple)
Interface automation -md5 password encryption
8. iterators and generators
JS forest leaf node non recursive depth first postorder traversal
Several methods of obtaining function annotation text on pycharm
The latest promo! 1 minute to understand the charm of the next generation data platform
Baidu AI Financing Innovation workshop enrollment!
2021-08-25
K-fold cross validation
Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
How to close gracefully after using jedis
Inventory - those automated test interview questions you can't help but know
Skills of CCF question 2