This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-25
Channels
- # beginners (20)
- # boot (25)
- # cider (1)
- # cljs-dev (7)
- # cljsjs (1)
- # cljsrn (1)
- # clojure (79)
- # clojure-austin (2)
- # clojure-berlin (13)
- # clojure-dusseldorf (1)
- # clojure-germany (7)
- # clojure-russia (10)
- # clojure-serbia (1)
- # clojure-spec (18)
- # clojure-uk (4)
- # clojured (1)
- # clojurescript (90)
- # cursive (10)
- # datomic (7)
- # emacs (14)
- # hoplon (6)
- # luminus (16)
- # lumo (4)
- # numerical-computing (2)
- # om (25)
- # om-next (1)
- # onyx (11)
- # pedestal (10)
- # protorepl (1)
- # reagent (11)
- # remote-jobs (1)
- # ring (1)
- # rum (38)
- # spacemacs (5)
- # test-check (7)
- # untangled (122)
- # vim (1)
- # yada (8)
is there any difference between: (1) (target FOO) (2) (target BAR) (sift to move from BAR to FOO) ? [some auto reloads are not happening; and I'm wondering if it's because target is creating temporary files which is confuing the monitor; in which case the sift would avoid this problem]
at the end of my (comp (watch) .... (target ..)) I want to execute a "touch appengine-web.xml"
otherwise isn't there a potential race between (1) boot writing out new class files and (2) jetty reloading?
according to SO answers (and verified by manual trail/error), if you have a running dev_appserver.sh, and you want to restart it, you do so by touching appengine-web.xml
ok, but why do you want to restart the whole thing? what changes make you want to do that?
why do you need to write new class files, except when you're adding/removing a servlet?
@mobileink: when I modify + save a .clj file, it boot aots the modified .clj files, generating new *.class files howver, dev_appserver.sh does not automatically reload these files --- UNLESS I touch appengine-web.xml
however, appengine-web.xml is NOT modified, so boot doesn't copy over a new appengine-web.xml
thus, after the (target ... writes out the new *.class files, in order to have devappserver.sh reload my new servlets, I need to touch appengine-web.xml
i.e. if you have not changed appengine-web.xml, then what is the point of touching it? if you're only touching it to reload, then you're going it wrong.