FastScriptReload
FastScriptReload copied to clipboard
Request: Need to reload scripts from packages (located in different folder than /Assets)
There doesn't seem to be an easy way to get these paths for cross-device setup. Seems like each developer will have to hardcode this themselves based on their project directory.
Tried something like this;
public static class ProjectPaths
{
public static string projectRoot => Path.GetDirectoryName(Application.dataPath);
public static string submodulesDirectory => Path.GetDirectoryName(Application.dataPath) + "/Submodules";
}
with <ProjectPaths.submodulesDirectory>, but doesn't seem to work.
You should be able to do that, try to go with absolute path without token
You should be able to do that, try to go with absolute path without token
I think it doesn't work because I've installed FSR as a package, so assembly definitions will not have access to my script?
With manually written out the absolute path I get no errors, but also no script reload. (might be related to this isse)
I also tried using it with local packages. No luck either. Any idea on this?
I think that should be fixed with #90 and specyfing path directly.
You'll also need to set it in settings, could try with Custom Polling if it doesn't work
You should be able to do that, try to go with absolute path without token