Closed mehaase closed 7 years ago
Answering my own question: I looked into the analyzer and it seems the analyzer server is actually part of this Atom plugin, not the Dart SDK, so it's not even running inside my container. My work around is to mount the host's /var/pub
to the container's /var/pub
, set export PUB_CACHE=/var/pub
, run pub get --packages-dir
, and then fix permissions on the pub cache. Now the package symlinks resolve correctly inside the container as well as on the host.
Is anybody using this plugin while they develop an application inside a container or VM? I use Docker and so all of my dart stuff is inside the container. It would be cool if I could run the analyzer inside the container and have Atom connect to it. Is this possible without modifying the plugin?