Symlink support
Closed this issue · 5 comments
cameronmcefee commented
@achicu suggested I open an issue for this here. Does not appear to be possible to symlink an individual plugin folder.
peterflynn commented
@cameronmcefee Could you tell us more about the use case for this?
cameronmcefee commented
For a handful of reasons I'd prefer not to store my repo in the plugin folder:
- My plugin is compiled
- My plugin supports many platforms so its full of code that is not relevant to XD
- I keep all my repos together elsewhere
- It's a pain to cd into a path that deep
If I want to keep my repo separate and compile for the Application Support folder I have a few options:
- Compile directly to
~/…/plugins/myplugin
- Compile to
repo/build/
then copy to~/…/plugins/myplugin
on every build - symlink
repo/build/
to~/…/plugins/myplugin
once then compile torepo/build/
For simplicity sake, I prefer the latter.
peterflynn commented
Thanks for the context!
ashryanbeats commented
For the time being, it would be worth checking out xdpm
's watch feature:
https://github.com/AdobeXD/xdpm
Closing this, as it isn't an issue with the samples in this repo. We're now tracking API feedback on the developer forums:
https://forums.adobexdplatform.com/c/api-feedback
ashryanbeats commented