is there a way to build lumo
with source maps on for the compiler part? I am trying to debug #239
uh
maybe set :source-map true
in the boot task
dunno
that’s probably a hard one to look into
kk will try that
can you repro it against that branch?
probably has a better error message
will do
I'll report on the issue, if we solve that, I will be a very happy fella 😄
@hlolli does your PR fix #231?
I had logged that before
Depends what is ment by that, stream is as far as i can see a file that is not saved. Or did you mean something else?
Id say the hard part would be cat ing many files and see if lumo can handle that, tought never attempted.
that’s what I mean
but I haven’t looked at your PR yet
@hlolli btw the windows failure is totally not your fault
I’m fixing it in https://github.com/anmonteiro/lumo/pull/253
Yes saw the message, good to know.
I may want to lool a bit better at the question stdin ad file. If its a question of cleverly give lumo one file stream that understands many files and namespaces or would we want to extend lumo to umderstand more before its opened etc. The limitation is that it can only be one continuous stream per pipe.
And since the return value is always printed in clojure the stdout is given, for the build api its not, that maybe a different more long term work there. Building js to stdout would open up lumo to gulp pipelines
I see
there’s one problem with your PR
@hlolli echo '(println "Hello World") (println "foo")' | lumo ...
^ this doesn’t work anymore
please use executeScript
so we can support multiple forms
I’m OK using the buffer approach, but I’m still getting the EOF errors
so as far as I can tell your PR doesn’t change anything at all
What, lol, im at my phone right now, but its exacly the other wat around on my computer. With string I was getting EOF errors
Thats why I made this PR in the first place
Youre on machintosh? At work Ill give my pr a try on a mac at my workplace. So if youre getting EOF then maybe I need to find a different way to solve this
ok
I also can’t remember what I meant by treat stdin as file