Denon does not watch files in subfolders.
See original GitHub issueDescribe the bug denon does not seem to be watching files in subfolders. As I observed my server would restart if I changed files in the root of the folder but not in subfolders.
Hereβs my tree . βββ controller β βββ post_controller.ts β βββ user_controller.ts βββ denon.json βββ deps.ts βββ mod.ts βββ models β βββ post.ts β βββ user.ts βββ routes β βββ routes.ts βββ utils βββ db.ts
Expected behavior Changing mod.ts, Denon.json, and deps.ts restarts the server but changing any other file does not.
Setup
- OS: Ubuntu 20.04 on WSL2
- Deno version: 1.1.3
- Denon version: 2.2.0
denon.json
{
"$schema": "https://deno.land/x/denon/schema.json",
"scripts": {
"dev": "deno run --allow-net --allow-read --unstable --allow-write --allow-plugin mod.ts",
"cache": "deno cache deps.ts",
}
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Managing a massive collection with Engine Prime
Denon does not recommend having a massive Collection like this, ... needed from the file browser view (thus adding them to the Collection),Β ......
Read more >Library subfolders not auto applying view settings
I used to be able to change the view on any Library folder & every subfolder would have the same view setting now...
Read more >Missing files/bad indexing Subaru Forester | AVS Forum
I recently added some new music and now suddenly several folders are no longer. ... OK, if I use Windows to count my...
Read more >[APP][5.0+][v3.6.9.1] BubbleUPnP - UPnP/DLNA ... - XDA Forums
Please send me a log file, playing the track that does not play. ... Neither my Pioneer nor my Denon can do any...
Read more >Number of folders and files that an AVR can read when ...
Get in touch with one of our specialized Denon product representatives. Call Us. Denon General Customer Service Phone: 800-497-8921. Denon Online Order Support...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the code I think all the logic you need to work with is on the
src/watcher.ts
file.denoWatch()
is the default watcher.legacyWatcher()
well, itβs the legacy one haha.I would suggest to you this dev.to article that explains (I havenβt proofread) how a basic file watcher works. And see if it works on your machine.
If you come up with a solution without touching denonβs code you can open a repo and link it here and I will be happy to adapt it to code base.
This is related to #57. You can try to use the
legacy
option in the configuration, under thewatcher
options. See more here.