Bi-directional synchronization local source copy <> remote via network share
Hi,
I was wondering if something like bi-directional synchronization is possible.
My setup
- PHP Storm runs on Win 7
- webserver is Ubuntu with samba
- project is set up as "remote project through network drive"
I figured out that PHPSTorm treats such projects similar to as if I used SCP as protocol. The local copy is treated per default as independent from the "remote copy" on the network drive.
I also found out that version 5 has this "tools deployment auto-upload". Great.
But how can I make PhpSTorm aware that something has changed on my server. Let's say I pulled a new version from a remote git repository or for some reason created some directories and files directly on the server.
Is this possible to detect such changes "onClick" or even automatically?
Thanx
Dorthe
Please sign in to leave a comment.
Hi there,
No. Automatic upload works local-to-remote only (and it's very logical, suits IDE requirements (to have fast access to project files, which is not the case when working over network) and IDE philosophy (working with project code locally) etc).
If reverse synchronization is required then you can do it manually: "Tools | Deployment | Sync with Deployed..." -- there you can choose what to do with each file individually.
Ah, ok. Thanx.
It works fine for files, yet not for empty directories someone created on the server.
Is there a trick to synch them too?
Dorthe
Settings (or just Tools) | Deployment | Options --> Create empty directories
Awesome. Thanx again. :-)
Let's see what stupid newbie question I can come with next...