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

deno test --watch: Deno.chdir() affects parsing of CLI args on reset #27383

Open
nayeemrmn opened this issue Dec 16, 2024 · 0 comments
Open

deno test --watch: Deno.chdir() affects parsing of CLI args on reset #27383

nayeemrmn opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
--watch related to the watch feature of the CLI bug Something isn't working correctly cli related to cli/ dir

Comments

@nayeemrmn
Copy link
Collaborator

Version: Deno 2.1.4

// test.ts
Deno.test("foo", () => {
  Deno.chdir("..");
});

deno test -A --watch test.ts
And then save the file again. It will fail to find test.ts the second time (assuming there is no ../test.ts).

@nayeemrmn nayeemrmn added bug Something isn't working correctly cli related to cli/ dir --watch related to the watch feature of the CLI labels Dec 16, 2024
@nayeemrmn nayeemrmn self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--watch related to the watch feature of the CLI bug Something isn't working correctly cli related to cli/ dir
Projects
None yet
Development

No branches or pull requests

1 participant