I added an interface to sustem file like this:
etc-myapp-conf:
interface: system-files
read: [/etc/myapp.conf]
This works. However, when creating/deleting or modifying myapp.conf the changes are not reflected when reading the file in my app. Only after rebooting the machine the changes become visible to the snap. E.g, After deleting the file it will be still seen by myapp. Only a system reboot will make he file dissappear for the snap. Is there a snap command to force refresh that interface without rebooting?