Is your feature request related to a problem? Please describe.
There is OPCache used on the production server. So, it's not enough to just upload your changes — you would also need to run a command to reload the cache in order to have changes applied.
Describe the solution you'd like
It'd be great to have a config option to put a command to execute each time a file was uploaded (or after a "sync to remote" was finished). I understand it should be possible to do for SFTP connections. Example:
Is this a similar or duplicate feature request?
Is your feature request related to a problem? Please describe. There is OPCache used on the production server. So, it's not enough to just upload your changes — you would also need to run a command to reload the cache in order to have changes applied.
Describe the solution you'd like It'd be great to have a config option to put a command to execute each time a file was uploaded (or after a "sync to remote" was finished). I understand it should be possible to do for SFTP connections. Example:
Does this project help you?