How to run a spider? #228
Answered
by
oltarasenko
dogweather
asked this question in
Q&A
-
I saw the docs that show starting a REPL:
And that works for my spider when testing it in development. But how should we run it from the command line as a normal CLI app that runs and exits when done? |
Beta Was this translation helpful? Give feedback.
Answered by
oltarasenko
Oct 6, 2022
Replies: 1 comment 2 replies
-
I think that the most simple way to achieve it is to add the following line to your configuration: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dogweather
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that the most simple way to achieve it is to add the following line to your configuration:
on_spider_closed_callback: fn _, _, _ -> System.halt(1) end,