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.

Don't display watcher config when watch is disabled

See original GitHub issue

Hopefully a quick, simple one. The watch config information is always displayed even when the watcher should not be active:

[denon] v2.2.1
[denon] watching path(s): *.*
[denon] watching extensions: ts,tsx,js,jsx,json
[denon] starting `deno run --unstable src/mod.ts`

I have confirmed the command is not restarted on file changes, as intended for this script, but the output mislead me.

Simply omitting the two ‘[denon] watching’ lines would be ideal.

My config has this at the global level, then watch enabled for just one script command. It does not help if I move the watcher config into that script’s section.

watch: false
watcher:
  paths:
    - denon.yaml
    - importmap.json
    - src

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
notfilippocommented, Jul 30, 2020

Well I’ve done all the tag changing. That was really tedious 😓

0reactions
notfilippocommented, Jul 30, 2020

it appears at the bottom of the list in both GitHub and deno.land.

Thanks for pointing this out. We will update all the tags to reflect this change

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to stop being automatically added to the watcher's list ...
Go to Account Preferences by clicking on the icon in the top right corner: Set Watch your issues to Disabled: Click Save to...
Read more >
Watcher settings in Elasticsearch - Elastic
You configure Watcher settings to set up Watcher and send notifications via ... xpack.watcher.enabled: (Static) Set to false to disable Watcher on the...
Read more >
Use Accessibility features on your Apple Watch
Apple Watch has a range of built-in Accessibility features to help you get the most from your device. Use these steps to find...
Read more >
How do I disable the watcher in production? - Using Streamlit
The config option that disables the watchers is: [server] watchFileSystem = false ... But it actually does not show me the watchFileSystem.
Read more >
Enabling and disabling System Watcher
It is not recommended to disable System Watcher unless absolutely necessary, as it affects ... the settings of the System Watcher component are...
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