You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh installation of v2.1.0, on MacOS Ventura 13.4.1...
I've installing precise-watcher into a brand new JS project, where I have not yet created/needed a .gitignore file. I'm finding that a basic use of precise-watcher will throw an error attempting to open .gitignore.
If I touch .gitignore and then re-run the watch task, it does not error and successfully listens for changes.
⟫ npm run -s watch
Starting precise-watcher
[Error: ENOENT: no such file or directory, open '/Users/[...]/repo/.gitignore'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/[...]/repo/.gitignore'
}
Usage: [...]
TypeError: Cannot read properties of undefined (reading 'map')
at module.exports (/Users/[...]/repo/node_modules/precise-watcher/src/start.js:6
1:56)
at async Object.handler (/Users/[...]/repo/node_modules/precise-watcher/bin/cli:
28:5)
Stopping precise-watcher
1 ✘
⟫ touch .gitignore
⟫ npm run -s watch
Starting precise-watcher
^C
Stopping precise-watcher
⟫
The text was updated successfully, but these errors were encountered:
Fresh installation of v2.1.0, on MacOS Ventura 13.4.1...
I've installing
precise-watcher
into a brand new JS project, where I have not yet created/needed a.gitignore
file. I'm finding that a basic use ofprecise-watcher
will throw an error attempting to open.gitignore
.If I
touch .gitignore
and then re-run the watch task, it does not error and successfully listens for changes.The text was updated successfully, but these errors were encountered: