You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=copy-file-on-save= is a minor mode to copy the file to another path on [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html][after-save-hook]]. This not only saves the backup in the project specific path, it also you can realize the deployment to the remote server over TRAMP.
3
9
** Why =copy-file-on-save=?
4
10
The original name of this feature was *auto-deployment*. It was named after [[https://confluence.jetbrains.com/display/PhpStorm/Sync+changes+and+automatic+upload+to+a+deployment+server+in+PhpStorm][JetBrains' automatic deployment function]]. But in Emacs this function can be realized by TRAMP's excellent file system abstraction layer. That is, deploying to remote server is just done with only =copy-file= function.
0 commit comments