Whenever I edit a file called filename.something
, my text editor creates a file called .#filename.something
when I modify anything. That file exists until I save. These files never were a problem until now. However, Truffle does not get along with them. Whenever I run
truffle test
with any modified but unsaved files, I now get this error message:
Error: ENOENT: no such file or directory, stat '/path/to/project/test/.#Contract.test.js'
This even happens when I run the command and start editing as my contracts compile. So I always have to sit through that, not doing anything. How can I tell Truffle to just ignore file names that start with .#
?
I use Truffle v5.0.37.