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

Fails to restart after TS errors #246

Open
benallfree opened this issue Jan 27, 2021 · 2 comments
Open

Fails to restart after TS errors #246

benallfree opened this issue Jan 27, 2021 · 2 comments

Comments

@benallfree
Copy link

Issue description

Hi, this is a cool tool! However, I'm getting an odd crash when there are compilation errors. I would expect it to just wait and restart everything, kind of like if nodemon were running. But instead, ts-node-dev exits.

Compilation error in server/src/index.ts
Assertion failed: (napi_create_string_utf8(env, events->events[idx].path, NAPI_AUTO_LENGTH, &args[0]) == napi_ok), function fse_dispatch_event, file ../src/fsevents.c, line 147.

Context

OS version (is it docker or host?), ts-node-dev version

^1.1.1, OS X

Did you try to run with ts-node?

Yes, also compilation errors.

Did you try to run with --files option enabled?

No

Did you try to run with --debug option enabled?

No

Do you have a repro example (git repo) with simple steps to reproduce your problem?

No

@jadbox
Copy link

jadbox commented Jun 10, 2021

I have the same issue!

@Narretz
Copy link

Narretz commented Jun 11, 2021

Isn't that the same issue as #243?

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

3 participants