tell bable where to look for source file and where to put them then add script to package json with watch flag code example
Example: babel cmd
babel src\app.js --out-file=public\scripts\app.js --presets=env,react --watch
babel src\app.js --out-file=public\scripts\app.js --presets=env,react --watch