Working great on Ubuntu, but not on Windows
See original GitHub issueFirst of all - I love this code. Thank you so much for creating it. I’m using it to create a live-coding environment to make music with SuperCollider.
I had no problems running jurigged on Ubuntu, but I can’t get it to work on Windows. I tried running it the same way: python3 -m jurigged -v livecoding.py
but on Windows it never registers any change in the file when I save. I’m using Sublime on Windows to save. My python version is 3.9.7 and Windows version is 10. Is there a known issue with Windows?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PC does not boot into Windows, but Ubuntu still works well
One of the methods using Linux is to use fsck.msdos command which is found majorly in most of the Linux Distributions. While you've...
Read more >Can't install Windows 10, but Ubuntu working perfectly - UDOO
Rufus on a Windows machine creates a bootable USB fine from the Windows 10 ISO download. 4) If at first it does not...
Read more >7 Things That Ubuntu Does Better Than Windows - MakeUseOf
Overall, both Windows 10 and Ubuntu are fantastic operating systems, each with their own strengths and weaknesses, and it's great that we have ......
Read more >my windows 10 is not booting after installing ubuntu alongside
Create a bootable media and boot the PC using the media. On the initial setup screen, select the language and other preferences and...
Read more >Bash on Ubuntu on Windows not starting - Stack Overflow
Control Panel --> Programs and Features --> Turn Windows Feature on or off · Uncheck "Windows Subsystem for Linux" · Uninstall Ubuntu from...
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
Okay I think its a Windows path issue. It does work but I can only get it to work if I look at the whole directory recursively, i.e. changing this line to:
I tried many combinations of playing around with slashes and paths but only this seemed to work. Of course its not ideal because now its looking at the whole directory… but it does work
I looked into it, I’m pretty sure the problem is that when watching a file, if the file is deleted and then recreated (which happens with the way some editors save), the watcher emits the deletion event and then stops. So I think it’s sufficient to observe the file’s parent directory instead of the file itself (basically a more fine-grained version of your fix).
I tested with editing the file through
vi
(which used to not work) and it seems to work, so that’s good.I also added a
--poll <INTERVAL>
option, in case that sometimes helps.I pushed a new version, 0.3.5, with these fixes. Tell me if that does the trick!