sync
sync copied to clipboard
Sync having problems with linked folders
I'm having a release generated with Relx's dev mode (app folders in release/lib are just folders linked to apps/, e.g. release/lib/$APP-1.0 is a link to apps/$APP). Sync cannot reload changed source files and beam files that are changed in the original folder.
What works:
- Touching the beam file in
$RELEASE/lib/$APP/ebin/module.beam
What doesn't work:
- Touching the beam file in
apps/$APP/ebin/module.beam - Touching the src file in
release/lib/$APP/src/module.erl - Touching the src file in
apps/$APP/src/module.erl
Thanks for the report, Adam.
When you say "link", do you mean a symlink? (Forgive me, I haven't used relx).
On Fri, May 16, 2014 at 8:56 AM, Adam Lindberg [email protected]:
I'm having a release generated with Relx's dev mode (app folders in release/lib are just folders linked to apps/, e.g. release/lib/$APP-1.0is a link to apps/$APP). Sync cannot reload changed source files and beam files that are changed in the original folder.
What works:
- Touching the beam file in $RELEASE/lib/$APP/ebin/module.beam
What doesn't work:
- Touching the beam file in apps/$APP/ebin/module.beam
- Touching the src file in release/lib/$APP/src/module.erl
- Touching the src file in apps/$APP/src/module.erl
— Reply to this email directly or view it on GitHubhttps://github.com/rustyio/sync/issues/32 .
Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm
Yes. :smile: