Can't get devtools auto build service working on Windows... Follow
As mentioned I'm trying to get auto build functionality configured for my Spring app as per these instructions:
2) Settings: Build ,Execution, Deployment => Build Project Automatically
3) ctrl + alt + shift + / = Registry - Enable 'compiler.automake.allow.when.app.running, property.
I restart Intellij, rebuild my app and start, make a change to one of the beans, does not auto recompile.
what am i missing?
Please sign in to leave a comment.
Help | Find Action | Registry:
compiler.document.save.enabled — Specify whether project save in response to document changes is enabled
compiler.document.save.trigger.delay — Delay in milliseconds before triggering save in response to document changes
compiler.automake.postpone.when.idle.less.than — If at the moment the autobuild is about to start the IDE is idle for less than specified milliseconds, the automatic build will be postponed in order not to interfere with the user's activity
compiler.automake.trigger.delay — Delay in milliseconds before triggering auto-make in response to file system events
Do you save the file using Ctrl+S (Save All)?
yeah... tried this on a 2nd project and it seems to be working. However, (and this might have been the problem I thought I had on the prior project) it seem to take ~5 seconds after the source save before the rebuild kicks off. I may not have noticed that before.
At any rate it seems to be working now. Sorry for the false alarm.
I tried adjusting all of the above and the time to rebuild is still the same. Which flag is it?
> I tried adjusting all of the above and the time to rebuild is still the same.
None of these settings affect the rebuild time. If your issue is with the build performance, please open a ticket with support at https://intellij-support.jetbrains.com/hc/requests/new and provide more details.
Sorry if it wasn't clear -- I'm referring to the parameters you provided to tweak the delay with spring boot devtools. I tried tweaking all of the above parameters and yet I'm still seeing a delay when it comes to recompiling a small string change. Is there documentation to getting performant usage with devtools and IntelliJ?
Anthony A See my answer at https://stackoverflow.com/a/61416076/104891.