This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aws (1)
- # bangalore-clj (3)
- # beginners (3)
- # boot (9)
- # business (1)
- # cljs-dev (72)
- # cljsjs (7)
- # clojure (86)
- # clojure-austin (1)
- # clojure-belgium (4)
- # clojure-brasil (14)
- # clojure-conj (3)
- # clojure-dev (10)
- # clojure-italy (4)
- # clojure-poland (14)
- # clojure-russia (36)
- # clojure-spec (144)
- # clojure-uk (50)
- # clojurebridge (1)
- # clojurescript (160)
- # clr (2)
- # core-async (8)
- # cursive (56)
- # datomic (34)
- # devcards (3)
- # emacs (2)
- # ethereum (1)
- # events (3)
- # hoplon (21)
- # jobs (2)
- # leiningen (9)
- # luminus (3)
- # off-topic (1)
- # om (26)
- # onyx (42)
- # pedestal (29)
- # protorepl (1)
- # re-frame (43)
- # reagent (26)
- # rethinkdb (4)
- # ring-swagger (4)
- # spacemacs (5)
- # specter (4)
- # untangled (102)
- # vim (43)
- # yada (10)
Morning guys, I’ve got a question about moving resource files. I have this resource file that I’ve packaged in a JAR, and everytime that project JAR is used, I’d like boot to copy a particular file in that JAR into the project’s designated resource directory.
I’ve tried using the (sift :to-resource…) command in the build.boot to move that file over, but it claims it can’t find it in the fileset. Do I need to extract it from the JAR into the fileset first (ie using the (sift :add-jar… command?
Hi! Just getting started with boot. I'm testing ClojureScript using boot-cljs-test and would like to use
pjstadig.humane-test-output in my build.boot, but I don't see any change in behavior. Likely it's just me not knowing how to add this to my set up. Or maybe this needs to be included in boot-cljs-test?
Heya guys, I’m a little confused as to what changed in boot-reload. Something between .4.8 and .4.12 broke what was previously working for me. I have taken a look over all the commits and I’m not positive why this change is breaking, but I know where (i think).
The behavior that was previously working was this: I use a custom css preprocessor that runs through a boot task and converts stylus markdown into a clojurescript module. When loaded, the module refers to a runtime, and the runtime creates a
<style> tag or updates an existing
<style> tag. I use a
defonce styles (atom nil), then store all tags inside that atom to make sure i’m not duplicating tags or not properly overwriting old styles in existing tags.
After some digging around I see that the
normalize-href-or-uri function doesn’t seem to consider this case: I have a
<link href=“/styles.css”> on the page, and a file
/foo/styles.css changes. The normalization just looks at
ends-with? and then will incorrectly replace my
/styles.css ownerNode href with
Like I said, I’m not really sure yet why this didn’t happen previously...
Also not exactly sure why this particular
/foo seems to be clobbering the
/styles.css, unless it’s purely coincidental with the index of the files inside of
https://github.com/adzerk-oss/boot-reload/compare/0.4.8...0.4.9#diff-c0363a338d5d2cd804bfdfed6a42a69aL21 this is the reference line that changed, but there’s nothing there to convince me that this bug didn’t actually exist before the change, and I’m somehow miraculously just noticing it now?
The outcome behavior, btw, is that the /styles.css sheet essentially gets erased, clobbering a set of styles I have on the page, because
/foo/styles.css isn’t really a “loadable” css file.
Totaly unrelated to the above, but just as curious… is there a reason the very first change triggered by
watch seems to completely ignore the whole pattern of
[diff (c/fileset-diff @prev fileset)] for ‘caching’ the different filesets between changes? If I run a boot task, it will run the task for all the files - then after a change to one file, it will run the task through all the files again, as opposed to just the changed file, but this only happens on the first change.