-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
ts_project cannot find deps with --worker_sandboxing #127
Comments
Was there a reason why you needed this? |
Thanks. Well, my understanding is that it is generally a good idea to use |
This sounds like a missing bazel feature.
tsc does not play well with changing paths. AFAIK there is no trivial way to get worker_sandboxing work. We will want to support this eventually but given the presence of |
to clarify further why this doesn't work; let's think about how this creates a few problems under bazel with Anytime a
A few problems with this;
The solution is to keep the working directory always the same. Unfortunately, this is not possible with |
Update on this one; recently we landed a big refactor to tsc workers. It allows us to support |
This seems to still not work, can I get an update? Worker sandboxing is important to me. |
We do not support it yet but the prefactor made it possible to support it with insignificant changes. |
Due to bugs like this one, we are moving away from supporting the Persistent Worker in the next major 2.0 release of rules_ts, and likely will never fix this, sorry! |
I'm not sure if this should work in the first place but maybe it'd help if documented.
The text was updated successfully, but these errors were encountered: