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

multiple globs doesn't seem to work #66

Closed
bburdette opened this issue Sep 30, 2019 · 3 comments
Closed

multiple globs doesn't seem to work #66

bburdette opened this issue Sep 30, 2019 · 3 comments

Comments

@bburdette
Copy link

I have a little build script that compiles a rust program. I want reflex to rebuild whenever files in src or example/src change. I can set up globs for each case, but it doesn't work with both together.

# this doesn't work.
# reflex -g 'example/src/*.rs' -g 'src/*.rs' -s -- sh -c 'cd example && clear && cargo build'

# this works.
reflex -g 'src/*.rs' -s -- sh -c 'cd example && clear && cargo build'

# this one works also.
# reflex -g 'example/src/*.rs' -s -- sh -c 'cd example && clear && cargo build'
@bburdette
Copy link
Author

Another problem I ran in to here was that a glob that includes a parent directory doesn't work. For instance, this one:

[nix-shell:~/code/touchpage/example]$ reflex -g '../src/*.rs' -- sh 'clear && cargo build'

@paddatrapper
Copy link

See #35

@cespare
Copy link
Owner

cespare commented Mar 5, 2021

Duplicate of #35.

@cespare cespare closed this as completed Mar 5, 2021
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

3 participants