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

add_on_mod only uses first path if more than one specified #76

Open
hrpatel opened this issue Apr 27, 2020 · 0 comments
Open

add_on_mod only uses first path if more than one specified #76

hrpatel opened this issue Apr 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hrpatel
Copy link
Member

hrpatel commented Apr 27, 2020

Command:

add_on_mod "build_docs" "/app/api" "/app/guide" "/app/sysadmin" &

Expected behaviour:

  • Setup watches on 3 paths

Actual behaviour:

  • Watch is only established on /app/api

Workaround:

add_on_mod "build_docs" "/app/api" &
add_on_mod "build_docs" "/app/guide" &
add_on_mod "build_docs" "/app/sysadmin" &

This bug prevents us from doing something like this:

paths=$(find /some_path ! -name dont_watch_me -depth 1 -type d)
add_on_mod "callback" "${paths}" &
@hrpatel hrpatel added the bug Something isn't working label Apr 27, 2020
@antevens antevens self-assigned this Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants