Auto sync directory with remote ftp dir if file in directory changed
I have following workflow:
- Grunt watch task is running from PHPStorm/Webstorm 20106.1
- I change file -> grunt tasks are executed -> new files are updated/generated in local destination folder
- Generated files must by synced with remote server per SFTP
- Due on problems with Node.js libraries ssh and jsfp with handling sftp connections I can not use grunt tasks to deploy genereated files (see issue)
How can I keep sync with remote dir handling PHPStorm itself?
请先登录再写评论。
Please see attached screenshot, you can try to enable this option by choosing either always uploading the files or on explicit save:
Is there possible to make some additional action after ftp upload?
For example: empty some directory on the same ftp server
>Is there possible to make some additional action after ftp upload?
Nope.
https://youtrack.jetbrains.com/issue/WI-3239
Another feature request:
add ftp ignored files support
Is there possible to make list of excluded folders/files to be readable from file .ftpignore (as in *.gitignore)
All paths should be relative
Reason: It is hard to manage absolute paths in Excluded Paths from Deployment setting