Comments (5)
Boot classpath with:
boot show -c
from shadow-cljs.
Thanks, first glance seems weird. I get a few entries like
/Users/zilence/.boot/cache/tmp/Users/zilence/745/d0ofpk/
/Users/zilence/.boot/cache/tmp/Users/zilence/745/11lgcg/
/Users/zilence/.boot/cache/tmp/Users/zilence/745/-p9hf6h/
These seem to be different on the next invocation.
/Users/zilence/.boot/cache/tmp/Users/zilence/765/d0ofpk/
/Users/zilence/.boot/cache/tmp/Users/zilence/765/11lgcg/
/Users/zilence/.boot/cache/tmp/Users/zilence/765/-p9hf6h/
I think boot
always copies the :source-paths
but when the paths change the incremental cache of shadow-cljs
won't work.
Could maybe use a hash of the file contents instead of path+last-modified instead.
from shadow-cljs.
It now uses the lein
classpath but that might actually create more problems than it solves.
Since shadow-cljs
uses alpha16
clojure.spec.alpha
it won't work with other versions of Clojure. The user may configure a different version in lein
but not the normal approach of a tool specific classpath.
from shadow-cljs.
I'm thinking that it is getting less useful to use lein
since shadow-cljs
can now do the classpath itself.
It may be fine to just have all CLJS configuration in shadow-cljs.edn
and not in lein
.
The issue with lein
(or boot
) is that any non-CLJS dependencies may mess up shadow-cljs
(ie. if you want to use Clojure 1.8.0
). CLJS dependencies are usually more lightweight and keeping them out of lein
solves a couple of issues.
from shadow-cljs.
With :lein {:profile "+cljs"}
in shadow-cljs.edn
the CLI script will launch the JVM using lein
.
shadow-cljs --once
shadow-cljs - 1.0.20170615-09 using /Users/zilence/code/shadow-cljs/shadow-cljs.edn
shadow-cljs - running: lein with-profile +cljs run -m shadow.cljs.devtools.cli --npm --once
When using :lein
the :source-paths
and :dependencies
of lein
are used and not those of shadow-cljs.edn
.
I want a similar integration with boot
but don't know enough about it to write it as boot
is about much more than just managing the classpath and launching a JVM. There is a lot of feature overlap and some decisions made by boot don't align well with shadow-cljs
.
from shadow-cljs.
Related Issues (20)
- Warnings on using decprecated-fn in a deprecated-fn HOT 3
- CLJS build failure HOT 2
- class shadow.undertow$fn$reify__11358 cannot be cast to class clojure.lang.Var$Frame HOT 3
- Requiring a namespace with an underscore instead of dash gets par-compile stuck
- :js-provider :external should support :modules
- Mention that build report only works for :browser target HOT 9
- Issue with CORS in dev HTTP server since 2.25.10 release HOT 2
- :module-hash-names doesn't work with :web-worker true
- Build report for :node-library builds needlessly requires :output-dir
- Preloads with a top-level namespace don't load macros HOT 2
- 2.26.5 incorrectly tagging @dagrejs/dagre npm module js file as es3 HOT 2
- date-fns v3.3.1 and shadow-cljs 2.26.5 to 2.26.6 triggers ICE HOT 2
- Compiling squint-cljs (via @nextjournal/clojure-mode) on 2.27.1 throws ICE HOT 14
- npm-module exports vars in random order with large namespaces HOT 2
- Check namespaced keywords for build ids
- More readable error log with pre-line for browser-test HOT 3
- Srting handling different to clj HOT 1
- `Caused by: java.lang.IllegalStateException: Attempting to call unbound fn: #'clojure.tools.analyzer.utils/update-vals` when trying to import a dependency via git HOT 9
- #shadow/env not working in ~/.config/shadow-cljs/config.edn? HOT 7
- How to debug the par-compiler for :cache-level :all HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow-cljs.