tsc-watch icon indicating copy to clipboard operation
tsc-watch copied to clipboard

"TypeError: es.split is not a function" Error when change a file and compile

Open fernandopioli opened this issue 1 year ago • 2 comments

Hi there. We are using this library to re compile a code after a change. We are using it on package.json. At the first time it compiles and run successfully ( with the --onSuccess param ), but when I change one ts file and it needs to run again, it is returning this message: "TypeError: es.split is not a function"

package.json script: "start:dev": "tsc-watch --noClear -p ./tsconfig.json --onSuccess "npm start -- --env=.env"",

MAC Ventura 13.6 Node 18.16

image

fernandopioli avatar Nov 08 '23 19:11 fernandopioli

Can you create a simple repo. the reproduce this error?

gilamran avatar Nov 08 '23 19:11 gilamran

bump

gilamran avatar Mar 27 '24 13:03 gilamran