ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.33k stars 104 forks source link

[Windows] File watching broken when todo.txt is in WSL #532

Open swantzter opened 11 months ago

swantzter commented 11 months ago

Bug Report

IMPORTANT: Please follow this template strictly when reporting bugs. Providing detailed and accurate information helps the development team to understand and address the issue effectively.

App Version: 2.0.0

Platform: Windows

Installation Method: Direct Download

Bug Description: It seems sleek is unable to watch files in WSL, this is sort of a bug report/feature request combo and I imagine this would be a slightly bigger thing to implement

Steps to Reproduce:

  1. Create a todo.txt file in a wsl distro
  2. Open the todo.txt file in sleek (\\wsl.localhost\Ubuntu\home\user\todo.txt)
  3. Create a todo
  4. The list of todos won't update
  5. refresh sleek with Ctrl+R and the todos will appear

Expected Behavior: TODO's should appear directly after creation

Actual Behavior: TODO's require a hard refresh of sleek to show up after creation

Additional Information:

Screenshots:

System Information:

Reproducibility:

Impact:

Workaround: Put the todo.txt file outside of WSL

ransome1 commented 11 months ago

Actually needed to look up what WSL is :D

I'm not sure if this can be solved in sleek, or if this is an issue with Chokidar, the module which handles the watching. I'll add this to the backlog.

github-actions[bot] commented 6 months ago

This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.