Currently with SDK 4 the hot-reload functionality is not supported for the Share resources, as documented in our SDK documentation (https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/hot-reloading/jrebel.md and https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/hot-reloading/hotswap-agent.md).
With SDK 4 hot-reloading only works with Repository resources (the "platform").
Customer would like to see this feature coming back on the SDK 4, as this was available with SDK 3.