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 run --watch=./ stops watching after the first restart #17603

Closed
myobie opened this issue Jan 31, 2023 · 1 comment
Closed

deno run --watch=./ stops watching after the first restart #17603

myobie opened this issue Jan 31, 2023 · 1 comment
Labels
duplicate a duplicate of another issue

Comments

@myobie
Copy link

myobie commented Jan 31, 2023

I've created a minimal repo to demonstrate the issue: https://github.com/shareup/deno-watch-stops-watching-bug

Deno version: 1.30.0
OS: macOS 13.2, aarch64

The first time a file outside the module graph is updated, the server restarts. The second and further times, files outside the module graph do not trigger a server restart anymore. Files in the module graph always trigger a restart.

This worked correctly, I believe, in version 1.27.x – the server would restart if any watched file changed, even if it was outside the module graph, across server restarts.

@magurotuna
Copy link
Member

Thanks for reporting! This should have been fixed by #17591.
Duplicate of #17584

@magurotuna magurotuna closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
@magurotuna magurotuna added the duplicate a duplicate of another issue label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants