Is this a feature request or a bug?
Bug
What is the current behavior?
Once I start editing a file, the emacs editor creates a symlink to a "pseudo file" into the project directory which leads to nowhere:
$ ls -la | grep '^l'
lrwxrwxrwx 1 mozdev users 32 15. Feb 08:14 .#contentscript.js -> mozdev@desktoppc.3589:1245462345
This seems to be used for "file locking" by emacs. Once this "non targeted" symlink appears, web-ext catches it up and dies:
Error: ENOENT: no such file or directory, stat '/home/mozdev/git/languageswitch/.#contentscript.js'
I've tried all kinds of things to exclude such files from web-ext monitoring but failed so far. Seems like the code, which makes it crash, runs before the file actually gets excluded.
What is the expected or desired behavior?
Such "ENOENT" errors should not cause web-ext (and Firefox) to just "disappear" immediately. This bug makes it really difficult to work on Add-ons with emacs.
Version information (for bug reports)
- Firefox version: 85.0.2
- Your OS and version: Arch Linux
- Paste the output of these commands:
node --version && npm --version && web-ext --version
v15.8.0
6.14.11
5.5.0
Is this a feature request or a bug?
Bug
What is the current behavior?
Once I start editing a file, the emacs editor creates a symlink to a "pseudo file" into the project directory which leads to nowhere:
This seems to be used for "file locking" by emacs. Once this "non targeted" symlink appears, web-ext catches it up and dies:
I've tried all kinds of things to exclude such files from web-ext monitoring but failed so far. Seems like the code, which makes it crash, runs before the file actually gets excluded.
What is the expected or desired behavior?
Such "ENOENT" errors should not cause web-ext (and Firefox) to just "disappear" immediately. This bug makes it really difficult to work on Add-ons with emacs.
Version information (for bug reports)
v15.8.0
6.14.11
5.5.0