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

Reflect-metadata does not work properly #114

Open
warriorBrian opened this issue Sep 1, 2019 · 1 comment
Open

Reflect-metadata does not work properly #114

warriorBrian opened this issue Sep 1, 2019 · 1 comment

Comments

@warriorBrian
Copy link

I used the reflect-metadata installation package, I introduced it, and configured some corresponding methods in the tsconfig file, I have to specify some parameters:

image
Specify the parameter as node to use normally, otherwise it will report an error, Reflect.defineMetadata is not a function
But now the dev-server in webpack doesn't work. Every time you write any properties or methods in Reflect-metadata, it won't reload properly.

image

I have to manually force the shutdown and restart npm run dev
How to solve this? 🤔

@rbuckton
Copy link
Owner

I apologize for not having reviewed this issue previously. Is this still an issue you are seeing? If not, I plan to close this issue in a few days as part of cleanup up stale issues in the repository.

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

No branches or pull requests

2 participants