Replies: 1 comment
-
|
Considering that all updates to resources must be fetched by "restarting" the resource (in order for clients to receive the latest data), I'm not exact sure what is being proposed here. If you're asking for some sort of sever-side "watch" utility which automatically refreshes/restarts resources upon saving (assuming no syntax errors), this is probably achievable - but then again doesn't explicitly relate to web-based resources. That being said; a discussion is less suitable for this issue - it would be better to open an actual "issue" and elaborate on the potential API changes to support this, as it's currently not clear enough. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I would love to suggest to enable the remote Lua <==> Javascript communication, because that will make our life easier. As a full-stack developer, I know how to work with JavaScript frameworks like React, Vue, etc and I would love to be able to use them in MTA as you can in FiveM, Rage:MP with hot reload. I know that you can build HTML files and use them, but why to complicate it? You have to build and restart the resource every time you make a change in order to reload the page, but with hot-reload ( dev server ) this problem won't exist and you would be able to see changes in real time. At least, make it optional, so developers can use it at their own risk or only for developing and in production to use a local HTML file ( build ).
Beta Was this translation helpful? Give feedback.
All reactions