I have an IntelliJ Maven project. Currently, IntelliJ copies resources (such as .js, .css) to the target directory when I debug/run a Tomcat/Jetty configuration. How do I modify IntelliJ to create symbolic links instead of copying files? If this isn't possible with a setting, what does the source code of a plugin look like that provides this behavior?
For example, IntelliJ takes a file like /project/src/main/webapp/js/file.js
and copies it to /project/target/war_path/js/file.js
.
This is an IntelliJ project backed by a Maven project using the maven-war-plugin. I don't know if this would require changes to Maven also?
There is an annoying delay in IntelliJ that I'm trying to avoid when I modify a resource and hit refresh in a browser. I want the file to be live.