Fork me on GitHub
#figwheel-main
<
2019-01-03
>
kwladyka11:01:39

Does it make sense to use figwheel-main with node.js for server purpose to create service? Not for web page in web browser.

kwladyka11:01:03

I would like to because of {:npm {:bundles {"dist/index_bundle.js" "src/js/index.js"}}}, watch-dirs etc. but not sure how to start project in right way

kwladyka12:01:51

So I guess I have to set :target :nodejs. Something else?

kwladyka12:01:15

> [Figwheel] Starting Server at http://localhost:9500 Why this still show then?

kwladyka12:01:37

How to run REPL (especially in Cursive). prompt never appear

bhauman14:01:46

@kwladyka figwheel always needs to start a server for its websocket connection

bhauman14:01:04

all you need is :target :nodejs

bhauman14:01:51

Not sure about Cursive

bhauman14:01:51

You shouldn’t have to use :npm {:bundles} when you use nodejs

kwladyka09:01:38

Hmm so all in all do you recommend use figwheel-main for nodejs or it doesn’t give real advantages?

bhauman14:01:25

You can and should use js/require directly

bhauman14:01:22

:npm-deps true will in many cases allow you to require node modules in ns forms

kwladyka14:01:23

Thanks, I will look on it