I'am using IntelliJ to implement the front and back ends of a project, both of them being modules of a single gradle project.
Frontend is bundled together by webpack which produces a bundle.js inside the static folder of the backend (Spring-boot web).
Everything works fine but now i am trying to speed up development so that any change to the front end can be quickly seen by a simple reload of the page served by the backend. Thus i use the --watch option of webpack to make it compile as i edit the files. In IntelliJ, i activated both the "Synchronize files on frame or editor tab activation" option and the "compiler.automake.allow.when.app.running" registry option...
But still, when i edit a file of the front-end, i must wait between 30s and 2min before a reload of the page shows the change.
I can get the change immediately if i manually "Synchronize" the backend project... but ideally, as i am lazy, i'd like to not have to do a second manipulation to observe a change...
Is there a way to make IntelliJ automatically detect the file change faster?