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

[Bug]: tsp compile --watch doesn't cover tspconfig.yaml #4468

Open
4 tasks done
RodgeFu opened this issue Sep 18, 2024 · 1 comment
Open
4 tasks done

[Bug]: tsp compile --watch doesn't cover tspconfig.yaml #4468

RodgeFu opened this issue Sep 18, 2024 · 1 comment
Labels
bug Something isn't working needs-area

Comments

@RodgeFu
Copy link
Contributor

RodgeFu commented Sep 18, 2024

Describe the bug

run "tsp compile --watch" and then edit tspconfig.yaml. The change in tspconfig.yaml won't be included when the "tsp compile --watch" recompile the project.

Reproduction

  1. tsp compile --watch
  2. change tspconfig.yaml
  3. check whether the change in tspconfig.yaml takes effect in "tsp compile --watch"

Checklist

@RodgeFu RodgeFu added the bug Something isn't working label Sep 18, 2024
@Jameschen594
Copy link

Currently, changes to tspconfig.yaml are not detected while using tsp compile <path> --watch. To apply any updates, you must stop and restart the watch process so the compiler can recognize the changes in tspconfig.yaml. Should this issue be addressed by includingtspconfig.yaml in the watch process? Currently, the watch feature only monitors changes to files within the specified <path>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-area
Projects
None yet
Development

No branches or pull requests

2 participants