Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fernandopioli opened this issue Nov 8, 2023 · 2 comments

Comments

@fernandopioli
Copy link

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

@gilamran
Copy link
Owner

gilamran commented Nov 8, 2023

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

@gilamran
Copy link
Owner

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants