hello all, I started shadow-cljs with pedestal integration, so, the web server is not in shadow-cljs. What is happen if I use somthing like this? I tried to use embded connection but it fails
the webserver is stared in clj session
Sounds like you'll need to connect to a socket REPL in the web server then @fabrao
It's just a JVM option (I have socket REPL under a :socket alias for that so I can combine it with anything else).
Hello Sean, I did it into clojure session, but in clojurescript repl for connect embeded is not working
I could connect to shadow-cljs repl
Shadow Socket-REPL was given an wrong token. Please, be sure you have the Shadow-CLJS compiler running and watching some build-id <- returning this
@seancorfield so, It seems that something is worng
Ah, I don't know anything about ClojureScript, sorry.
|:-)
anyway, thanks for your time
@fabrao the best thing you can do is to run shadow over lein or deps, so a single socket-repl is used to connect both to the pedestal and clojurescript
So then, when you connect to the REPL on lein or deps, shadow will also be present
Does anyone here use clj-kondo in Atom? I can't get it working.
I use it all the time @skinner89 What's up?
Do you get any errors/alerts in the editor when it is trying to lint your code?
Have you verified you can run it from the command-line, and prep'd your clj-kondo cache for your project per the clj-kondo README?
I don't get any errors or alerts and no linting
I've run it from the command line. Missed the cache step
macOS? Linux? The Atom package for the clj-kondo linter needs to be able to find the executable on the path. How/where did you install the command-line executable?
Linux ubuntu. It's on my user's path. Atom is running as my user.
I created the cache but I'm still seeing nothing in atom
@skinner89 did you install the linter packages on Atom?
just linter and linter-kondo
The cache is not necessary for linting, you will just better linting :)
@skinner89 How did you install it, via a package manager?
no downloaded it and put it on my path
maybe Atom has a different idea of PATH than your shell?
is it possible to start atom from your shell, similar to how you can start vscode from the shell using $ code?
Yeah that's possible
let me just install via apt
you can inspect env path that the program runs by doing bash -X atom
to see if is in the path
if it's bash
I use zsh but I just switched over to bash to try that. I'm getting bash: -X: invalid option . When ran bash atom I was promoted to install linter-ui-default. Still not seeing any linter messages
aha!
linter-ui-default installed but was disabled from a previous attempt at setting this up.
seeing linter ui
I appreciate the help