Stuyk / rebar-altv

Accelerate your game mode development with a simple alt:V framework written in TypeScript.
https://rebarv.com/
56 stars 33 forks source link

Reloading core resource does not work #114

Closed Stuyk closed 2 months ago

Stuyk commented 2 months ago

When reloading the resource with the restart resource function, it does not load the core resource again.

It has something to do with index.ts and can't seem to pin point exactly where it's happening.

If fixed I can integrate proper resource reloading via nodemon and prevent disconnections entirely while developing.

Stuyk commented 2 months ago

Can be done by invoking http://127.0.0.1:8787/server/reload?resource=core via http get request through a client like insomnia, postman, etc.

Stuyk commented 2 months ago

Integrated in #123