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:
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.
I have to manually force the shutdown and restart npm run dev
How to solve this? 🤔
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.
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:
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.I have to manually force the shutdown and restart
npm run dev
How to solve this? 🤔