rbuckton / reflect-metadata

Prototype for a Metadata Reflection API for ECMAScript
https://rbuckton.github.io/reflect-metadata
Apache License 2.0
3.21k stars 184 forks source link

Reflect-metadata does not work properly #114

Open warriorBrian opened 5 years ago

warriorBrian commented 5 years ago

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 commented 11 months ago

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.