Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative path for watched files in .remote-sync.json #485

Open
liuderchi opened this issue Jun 4, 2018 · 1 comment
Open

Use relative path for watched files in .remote-sync.json #485

liuderchi opened this issue Jun 4, 2018 · 1 comment

Comments

@liuderchi
Copy link

It would be more convenient to support relative path in watch field.

For example if I have

// .remote-sync.json
{
  "watch": [
    "./index.html",
    "main.css"
  ]
}

with Project Folder to be ~/MY-PROJECT

I would expect it to watch ~/MY-PROJECT/index.html and ~/MY-PROJECT/main.css

But it turns out watching ~/MY-PROJECT./index.html and ~/MY-PROJECTmain.css and throws Error

@berteh
Copy link

berteh commented Jul 31, 2018

same problem by me. would need adding a directory separator between the project working directory and the watched file name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants