pandeiro / boot-http

A simple HTTP serve task for the Boot build tool
62 stars 34 forks source link

Serve from fileset #46

Open arichiardi opened 8 years ago

arichiardi commented 8 years ago

I thought, maybe mistakenly, that I could serve from a fileset with a simple:

(comp (serve)
           (watch)
           (cljs-repl)
           (reload)
           (version-file)
           (cljs :optimizations :none
                  :source-map true
                  :compiler-options {:source-map-timestamp true}))

And this indeed works...unless, I have a project where it does not work, and I have to do:

(comp (serve :dir "target")
            ...
         (target)

The error it returns is the classic: Problem accessing /. Reason: Not Found.

What is the mistake here?

The testing project is here: https://github.com/arichiardi/edge

hswick commented 7 years ago

having similar issue. It looks like when you put target at the bottom serve doesnt start