()
| 47 | watchFile(); |
| 48 | |
| 49 | function changeFile() { |
| 50 | const fd = fs.openSync(f, 'w+'); |
| 51 | fs.writeSync(fd, 'xyz\n'); |
| 52 | fs.closeSync(fd); |
| 53 | } |
| 54 | |
| 55 | changeFile(); |
| 56 | const interval = setInterval(changeFile, 1000); |
no test coverage detected
searching dependent graphs…