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

Cannot serve sift moved files #70

Open
arichiardi opened this issue Nov 21, 2017 · 0 comments
Open

Cannot serve sift moved files #70

arichiardi opened this issue Nov 21, 2017 · 0 comments

Comments

@arichiardi
Copy link

Hello @pandeiro!

I have identified a problem with the concept of "serving from the fileset".
In my app, I am shuffling things around for various reasons so something like the following is pretty common:

(comp
   (sift :include #{#"semantic-ui-less/_site"} :invert true) ;; sample, not needed
   (sift :move {#"semantic-ui-less/definitions/" "css/definitions/"
                #"semantic-ui-less/themes/" "css/themes/"    ;; need this here for less
                #"semantic-ui-less/semantic.less" "css/semantic.less"
                #"semantic-ui-less/theme.less" "css/theme.less"})
   (css/lessc :less-path "css/blog.less")
   (sift :move {#"css/" "public/css/"}))

This basically brings every css resource I am interested in under "public" so that then I can do:

(serve :resource-root "public")

I found after some debugging that files shuffled with with :move are not served at all.
I was wondering if there is something I need to add (custom handler?) and if this is a known problem.

Thanks a lot!

@arichiardi arichiardi changed the title Cannot serve move files Cannot serve sift moved files Nov 21, 2017
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

1 participant