Working with IntelliJ Node.JS / Angular and Spring Boot
Answered
Hi All,
I have a IntelliJ project that is made up of a client and server folder. The client folder holds the Angular app that needs to be served with ng serve and the Spring Boot app needs to be built and run via mvn run. At the moment I'm manually launching a shell and running ng serve for the client and then running the Spring boot server through the tool bar button.
Is there any way I can have a single run configuration that will run the maven build and serve the Angular app out all from one click?
Thanks in advance!
Please sign in to leave a comment.
You can try the compound run/debug configuration: https://www.jetbrains.com/help/idea/run-debug-configuration-compound.html. Command line tool can be configured as a separate Maven goal, external tool, Ant task or a batch/shell script (external plug-ins may be needed for that).