How to start Babel with ESLint with watching mode?


#1

Hey, I would like to start both, Babel and ESLint and I want to auto reload if there changes.

This is my current setup:

package.json

  "scripts": {
    "dev": "npx eslint src/** & npx babel src --watch --out-dir dist",
  }

However, ESLint only checks the code for the first run not for any following. How can I change that?