Plugin Service Registration

Thanks! Makes sense. I have tried this and works perfectly.

This is a good idea as well. Thanks!

I understand this would be problematic for the user if it was hardcoded in the plugin though I guess for some scenarios it might be useful. To deal with the this I was thinking on providing some sort of up-to-date validation task/extension that the code generation task needs to call and determine its validity based on the user-selected up-to-date criteria selected by the user.

I am thinking of a case where instead of changes in a file we need to poll for changes on a database based on a specific query or a global property that determines the database has been updated. It is not straight forward how to determine that it has been updated therefore we need more flexibility at the user’s discretion to define out-dated checks/stamps relevant for their workflow.