question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nitro Watcher Needs Polling Config

See original GitHub issue

Environment

Docker, Windows, WSL

Reproduction

Run the most minimal Nuxt3 boilerplate setup via the docs in a simple docker container.

Describe the bug

For all typical/known Docker+WSL file watcher issues:

Vite polling works with usePolling: true.

Webpack works with chokidar or polling config options set.

Nitro has no (documented) support for the equivalent.

Polling option needs to be added, or if it’s already supported, the docs need to be much clearer on how to enable polling.

(And development should have better testing for Docker+WSL.)

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
peteromanocommented, Nov 27, 2021

@pi0 Ugh… I SINCERELY appreciate the “rubber-ducking” for exactly that reason of missing that in the doc; I don’t know HOW i just glanced over that!!

It fixes nitro AND its not needed in vite config anymore either – way more elegant soution (as it IS env specific problem…)

Thank you SO much for taking another look!

1reaction
pi0commented, Nov 22, 2021

PR Welcome @peteromano you need to update here.

BTW I always developed within WSL2 environment with no issues. Maybe we need to enable polling for specific environments known to watching issues?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Citrix ADM polls managed instances and entities
Polling is a process, where Citrix ADM collects certain information from Citrix ADC instances. You might have configured multiple Citrix ADC ...
Read more >
Poll Watcher's Guide
The integrity of elections is a concern of all citizens, and although poll watchers may represent particular candidates, political parties, or specific-purpose ...
Read more >
Conducting polls in meetings
How to add poll questions for a meeting · Click the Untitled Question area to edit the name of that polling question. ·...
Read more >
Elections - Search My Registration / Polling Place
Search My Registration / Polling Place. Enter your first name, last name, and date of birth to: Check your voter registration status; Find...
Read more >
Poll Watchers and Challengers
The table below lists state-by-state laws regarding poll watcher qualifications. Typically political parties, candidates, and ballot issue ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found