-
Notifications
You must be signed in to change notification settings - Fork 260
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
spin watch doesn't rebuild/reconfigure on manifest file changes #2480
Comments
Looks like it's unhappy that the manifest path is absolute. I'm not sure if this is a watchexec change, or if we changed Spin so that we absolutised the manifest path before giving it to |
@garikAsplund I saw you had 👀 on the original comment - does that mean you're interested in investigating and fixing this? I'm happy to assign it to you if you want, otherwise I'll pick it up. (I'm not trying to thrust it on you - just don't want to tread on your toes.) |
@itowlson If it's quick and easy for you to fix go right ahead! Or I can investigate further tonight if you're busy. |
Yeah I can sort it. Thanks for spotting this! Context: #1983 (so we do need the absolute but not sure exactly when) |
Cool! Appreciate the context. Out of curiosity, what's the best way of testing CLIs, especially with file changes and everything? |
I have yet to find a method better than manual testing for cases like this, although with Ryan's integration/runtime test framework we might be in a better position to automate something. "UI tests" (which store an expected "golden" output and diff the actual output against it, hence also known as "golden tests") can help with some CLI tests - but that wouldn't really help here. |
Expected behavior:
Originally posted by @itowlson in #2478 (comment)
Making changes within
spin.toml
whilespin watch
is running does not lead to any rebuild or reconfigurations.The text was updated successfully, but these errors were encountered: