title: How to configure hot reload in Jhipster?
body: <p>I am using Jhipster(Angular + Springboot) Application for my existing project.</p>
  
  <p>I managed to create a controller(app.resource) manually apart from the ones already generated by jhiptser(using .jh file) for achieving a file download functionality.</p>
  
  <p>So, when we start the server we usually initiate two servers i.e <code>gradlew</code> and <code>npm start</code>. The second runs on port 9000 which eventually supports hot reload functionality.(front-end development)</p>
  
  <p>So the problem is, I am able to access those endpoints from the server running on standard 8000 port. However, from the port which is a proxy(9000), the method is returning 404.</p>
  
  <p>I tried to clean build the application several times.</p>
  
  <p>NOTE: The <code>@RequestMapping</code> value on the new controller is different then those present already.</p>
  
  <p>Does this have to do something with spring security?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Here is the previous controller:</p>
  
  <pre><code>@RestController
  @RequestMapping("/api")
  public class FGAppDiagramResource {
  @GetMapping(value = "/fg-app-diagram-downloadFile")
      public void getImage(String fileName,String folderName, HttpServletResponse 
      response){
      // Some Code
  }
  }
  </code></pre>
  
  <p>Here is my New controller:</p>
  
  <pre><code>@RestController
  @RequestMapping("/fileDownload")
  public class DownloadFileController {
  
  private final Logger log = 
  LoggerFactory.getLogger(DownloadFileController.class);
  
  
  public DownloadFileController() {
      super();
  }
  
  @Autowired
  private ApplicationProperties applicationProperties; 
  
  @GetMapping(value = "/fg-app-diagram-downloadFile/{fileName}/{folderName}")
  public void getImage(@PathVariable String fileName,@PathVariable String folderName, HttpServletResponse response) {
  // Some Code
  }
  }
  </code></pre>