I am a front-end and need to connect to the database, so the project requires the use of intelliJ. I am not very good at using this. It seems that Maven and Tomcat need to be loaded. The main reason is that every time I change the page or js, refreshing the page does not seem to work. To make changes, restart the service several times or refresh like crazy. How can I see the effect immediately after making the changes?
If you want to see the effect immediately, you can configure this. After configuring it, modify the page and js and save it directly. Refresh the page to see the effect
Connecting to the database has nothing to do with using intelliJ. There is no requirement for Maven and Tomcat to use this IDE. When intelliJ runs, select the exploded war package. In this way, unless you modify the JAVA code, generally the front-end code does not need to be re-run. The project.
I haven’t seen many front-end developers who use idea development, but there are a lot of them who use java for development!