Cherry
Cherry

Reputation: 33544

How autocopy (on each save action) file in Intellij Idea to other directory?

I have java project with html/js files. These files are packaged by maven and deployed to Java EE application server.

To modify one symbol I (theoretically) need to recompile, repackage and redeploy whole project. In practice change html/js in Intellij Idea project and copy them directly to application server manually.

May be Idea support automatically coping files on save action?

Upvotes: 1

Views: 135

Answers (1)

Amila
Amila

Reputation: 5213

If you use IDEA Ultimate (paid) edition, it supports creating Run/Debug configurations for application servers.

This allows you to create, deploy your application and test/debug within IDEA, without building with Maven.

For example, if you use Tomcat:

enter image description here

Once you launch this configuration, you'll get a convenient redeploy button.

Upvotes: 1

Related Questions