IntelliJ and Maven- Auto deploy static files

Doing a deploy just to refresh the static files is a time consuming process, which is usually the case if you have a maven WAR project running from IntelliJ. Every time you update a static file like ‘.js’ or ‘.css’ file, you have to do a deploy for the changes to reflect in browser. A quick work around would be to ‘Make’ the project (Ctrl+F9 in Windows) and enable the ‘build on make’ checkbox for ‘exploded war artifact’ in project structure settings.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: