Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve devtools trigger-file documentation #17775
The devtools documentation for Spring Boot 2.1.6 proposes to use a "trigger file" in case of incremental compilation in the IDE, to make sure we upload all class file changes only at a specific time. The docs state the following:
From this I expected that the file may be put anywhere on the filesystem and monitored by the watcher, and upon its change the accumulated changes in the classpath folders are uploaded to the server.
While examining the source code of Devtools, I've discovered that:
If my understanding is correct, I believe it's worth adjusting the docs as follows:
Thanks for reporting this @forketyfork. I've tried to clarify things for the next release. I added a small note about IDE support but didn't add any comment about the remote mode in the end. I was worried about that information getting stale and I felt it would be better in the IDE documentation.