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

Add configurable location for _NetManaged folder. #78

Closed
MayGo opened this issue Sep 8, 2022 · 2 comments
Closed

Add configurable location for _NetManaged folder. #78

MayGo opened this issue Sep 8, 2022 · 2 comments

Comments

@MayGo
Copy link

MayGo commented Sep 8, 2022

Currently, definitions are created into this library source code:
Screenshot 2022-09-08 at 11 36 36

Can we make Parent configurable?

const location = script.Parent!;

Would like that _NetManaged folder would be directly under ReplicatedStorage
ReplicatedStorage->_NetManaged->toggleCampaignStartButton

Little bit of background:

I want to implement code Hot Reloading and current problem is that _NetManaged folders gets removed, if I run Rojo and files are synced.

@MayGo
Copy link
Author

MayGo commented Sep 9, 2022

Tested this change out locally. And it would not fix my situation.
It is because of rojo. rojo-rbx/rojo#559

@Vorlias
Copy link
Member

Vorlias commented Sep 9, 2022

This was an intentional design decision because it prevents any potential weird behaviours where two incompatible versions of Net might be in your project (e.g. another version from a package)

Also was to ensure that the remotes in the folder are 100% guaranteed that net is the one who created and is managing them.

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

No branches or pull requests

2 participants