Coder Social home page Coder Social logo

boot-cljs-devtools's People

Contributors

arichiardi avatar jupl avatar martinklepsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

boot-cljs-devtools's Issues

Option to enable :sanity-hints

I have the following in my usual app.cljs and I was wondering if I can have the same when using boot-cljs-devtools:

(devtools.core/install! [:custom-formatters :sanity-hints])

It is basically adding :sanity-hints for devtools together with the default :custom-formatters.

Maybe we can add an option?

In presence of a watch task runtime is installed multiple times

My pipeline is surrounded by a watch and reload and I see many times the string:

Adding :require [devtools.core dirac.runtime] and :init-fns [devtools.core/install! dirac.runtime/install!] to main.cljs.edn...

Is there a way to detect if dirac/devtools is installed already and skip it? I will ask on Slack, just opened this for reminding it to myself ๐Ÿ˜„

Install only when dependency is there

I see that at the moment there is a warning when either cljs-devtools or dirac is missing in the env.

I have in lambone an optional switch to enable dirac though which at the moment conditionally includes the deps.

It would be great if boot-cljs-devtools could detect that I don't have one or the other in the env and instead of send back an error, just don't require the namespace and don't call the install! on that missing dep.

What do you all think?

Cannot rely on add-init! as it does not add dirac runtime

I have the following pipeline:

(comp (apply serve (mapcat identity (:serve options)))
             (built-in/watch)
             (apply sass (mapcat identity (:sass options)))
             (apply reload (mapcat identity (:reload options)))
             (apply cljs-devtools (mapcat identity cljs-devtools))
(built-in/show :fileset true) <- added
             (apply cljs (mapcat identity (:cljs options))))

And apart from the apply noise you can see that I am showing the fileset between the tasks.

Well, I have no .cljs.edn file (as I am using straight main.js for my built artifact.

So is there a more reliable way in your opinion to add this code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.