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

How to compile with watch? #2

Open
theronic opened this issue Nov 16, 2018 · 3 comments
Open

How to compile with watch? #2

theronic opened this issue Nov 16, 2018 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@theronic
Copy link

This is awesome! Thank you. How do I compile this with catflap and cargo watch for continuous builds?

Note that the version flag of rsync that comes with OSX by default errors out on the --info=progress2 flag, so you have to call it with env PATH=/usr/bin/local:$PATH cargo remote -r user@build-server build

@sgeisler
Copy link
Owner

Since I personally don't use catflap or cargo watch I don't really know how well they integrate with cargo remote 🙁 maybe you can look into it? PRs are always welcome.

Regarding the rsync problem: I could hide the progress option behind a flag so you have to explicitly use it.

@sgeisler sgeisler added bug Something isn't working enhancement New feature or request labels Nov 16, 2018
@sgeisler
Copy link
Owner

@theronic could you have a look at #3 please? If it actually fixes the Mac OS rsync problem I'd merge it. If you wish to work on integrations with other cargo tools I can help you (then I'd probably update all the dependencies first so you don't have to deal with that ancient stuff), but since I'm not using cargo-remote at the moment I don't have much motivation for actual development.

@atakurt
Copy link

atakurt commented Jul 18, 2019

@theronic you can use cargo watch like cargo watch -s "ssh user@build-server pkill -f app ; cargo remote -r user@build-server run"

sgeisler pushed a commit that referenced this issue Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants