sync icon indicating copy to clipboard operation
sync copied to clipboard

Sync having problems with linked folders

Open eproxus opened this issue 11 years ago • 2 comments
trafficstars

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

eproxus avatar May 16 '14 13:05 eproxus

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

choptastic avatar May 16 '14 19:05 choptastic

Yes. :smile:

eproxus avatar May 19 '14 07:05 eproxus