当前位置:网站首页>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-devtools
rely 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 .
边栏推荐
- One picture to achieve the selected effect
- The secret of metaktv technology of sound network: 3D space sound effect + air attenuation + vocal blur
- Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
- Exploration of advanced document editor design in online Era
- Intra domain information collection for intranet penetration
- Splunk series: Splunk data import (II)
- Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
- Understand the offline mixing technology in the industry
- Log4j2 vulnerability detection tool list
- Record the training process
猜你喜欢
Causes and solutions of unreliable JS timer execution
Teach you how to create and publish a packaged NPM component
Slenium tips: how to handle some dialog boxes that may appear on Web pages
CSDN sign in cash reward
JS canvas drawing an arrow with two hearts
Yolov4 improved version comes out! Yolov4 extended edition! Yolov4 launched scaled-yolov4: scaling cross stage partial network
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
2022 oceanbase technical essay contest officially opened | come and release your force
Instant aesthetics of the Centennial Olympic Games: beauty in the air, condensed in minutes and seconds - Alibaba cloud video cloud AI editorial department "cloud smart scissors"
Besides using hackbar, how can I make post requests
随机推荐
2020-11-14-Alexnet
Dice、Sensitivity、ppv、miou
[distributed system design profile (1)] raft
[deep learning series] - visual interpretation of neural network
JS forest leaf node non recursive depth first postorder traversal
After 20 days' interview, I finally joined Ali (share the interview process)
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
PIP command -fatal error in launcher: unable to create process using How to resolve the error after migrating the virtual environment?
Interviewer: why does TCP shake hands three times and break up four times? Most people can't answer!
Nine built-in objects of JSP and four scopes of Servlet
Teach you how to create and publish a packaged NPM component
Installing MySQL under Linux (CentOS 7)
Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part 2)
Lesson 4 beautifulsoup
How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
How does pycharm create multiple console windows for debugging in different environments?
Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
Leetcode daily [2022 - 02 - 17]
Cloud development practice of the small program for brushing questions in the postgraduate entrance examination - page design and production (home page of the question bank, ranking page, my)
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing