Open Dajust opened 1 year ago
I've tried to add --watch option manually and also the suggestions here but nothing's working.
--watch
My script block looks like this
"scripts": { ... "clean": "rm -rf build && mkdir build", "dev": "yarn clean && babel src -w -d build --extensions '.ts'", "dev-start": "babel-watch build/index.js -w [build]", "dev-nodemon-start": "nodemon --exec babel-node build/index.js" },
Everything work as expected when I use nodemon. But restarting does happen when I use babel-watch
nodemon
babel-watch
I'm on Mac M1.
I've tried to add
--watch
option manually and also the suggestions here but nothing's working.My script block looks like this
Everything work as expected when I use
nodemon
. But restarting does happen when I usebabel-watch
I'm on Mac M1.