1
votes

In my Eclipse preferences, I have "Refresh using native hooks or polling" selected.

If I make a change to a Java file outside of Eclipse, the project that contains that Java file automatically refreshes and rebuilds that file as it should. However, if I make a change to a file under src/main/resources/... from an external editor, it is not automatically refreshed. I have to select the project and press F5 to get it to refresh.

Is there a way to configure Eclipse to automatically refresh any resources under src/main/resources?

1

1 Answers

0
votes

In Eclipse

  1. Run > External Tools > External Tools Configuration
  2. Create a new Program configuration Point the location to an exe that is very fast
  3. On the Refresh tab, choose Refresh Resources upon completion, The Entire Workspace
  4. On the Build tab, deselect Build before launch