yongkangchen / remote-sync

Upload your files to remote host after every change. Both SCP/SFTP and FTP are supported.
https://atom.io/packages/remote-sync
MIT License
237 stars 71 forks source link

watching a file doesn't work if two projects watch the same file name #476

Open horacegrant opened 6 years ago

horacegrant commented 6 years ago

i have two projects which contain this in their .remote-sync.json:

  "watch": [
    "/main.css"
  ]

only the first project i open does watch its main.css correctly. the second project i open always ignores its main.css. what could be the reason for that behavior?

Jany-M commented 6 years ago

It's been like this since always I believe. What I usually do is move the project folder at the top of tree (or simply remove the others), then reload Atom. That usually works, but it's pretty annoying.