boot-http icon indicating copy to clipboard operation
boot-http copied to clipboard

Serve from fileset

Open arichiardi opened this issue 9 years ago • 1 comments

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

arichiardi avatar Apr 27 '16 19:04 arichiardi

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

hswick avatar Jun 21 '17 07:06 hswick