Closed TrevorFSmith closed 8 months ago
Hi Trevor, thanks for reporting this.
Do you have an idea what /home/trevor/Desktop/dropserver/tutorial-app/4913
file might be? It doesn't sound like a code file you'd be creating. Maybe a temporary file?
I'm wondering if it's a file that gets created and then deleted in very quick succession, which trips up the file watcher algorithm. I can get around this is that's what it is.
Hello. 4913 isn't a file that I've created, either manually or in code, so I'm not sure what it's meant to do or why it would appear in the tutorial-app directory. The name, "4913", is consistent though so it doesn't seem to be a per-process lockfile named after a process id.
Edit: I also looked into the tmp dir while ds-dev is running and there's no similarly named file. I thought it might be a relative path problem.
Hmm. Weird. I can't reproduce this on Arch or Mac.
Are you using vim by any chance? I just found this post that indicates vim creates a temporary file called 4913
. I'll have to dive into this post and integrates the author's findings.
I am using vim, well, nvim. I just read the linked post and indeed, I think that could explain what is happening.
Thank you.
On Fedora 38 using ds-dev v0.11.0, I followed the tutorial app but every time I save app.ts the ds-dev panics:
I tried a few variations on the command line with relative an full paths as well as setting or not setting the
appspace
option. It seems to make no difference.