eslint-watch-better is better than eslint-watch.
r
yarn global add eslint-watch-better
From the terminal:
esw <files or dirs to watch>
Or make it an npm script in your package.json
:
{
...
"scripts": {
"esw": "esw <files or dirs to watch>"
}
...
}