Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serve using serveFilesOutsidePath? #10

Open
devoncarew opened this issue Apr 26, 2015 · 4 comments
Open

serve using serveFilesOutsidePath? #10

devoncarew opened this issue Apr 26, 2015 · 4 comments

Comments

@devoncarew
Copy link
Contributor

I think we need to pass serveFilesOutsidePath into the createStaticHandler in order to serve content in the packages folders. They symlink to the project's main packages folder, which symlinks to the pub-cache - outside of the web server's root.

@sethladd
Copy link
Collaborator

sgtm

@sethladd
Copy link
Collaborator

I kinda wish Pub copied all those directories into your project. Disk is cheap. Symlinks suck.

@devoncarew
Copy link
Contributor Author

When I'm deploying to appengine, I remove all symlinks from the build/web directory (recursively, and then create one realized copy of packages in build/web (real files, not symlinks). This prevents the appengine deploy from trying to copy 4 billion copies of the files.

@sethladd
Copy link
Collaborator

Definitely. There's a grinder task for that, right? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants