Fork me on GitHub
#pathom
<
2021-11-13
>
Pragyan Tripathi03:11:18

I am trying to use Pathom Viz. I do my development within a vagrant box. I couldn't find anyway to connect Pathom Viz the pathom server running within the vagrant VM. Is there a way to connect it to remote pathom server. I see there a button to add a http connection. But I am not sure how do I find the connection information. Would appreciate any help in it.

jmayaalv07:11:11

If you have rest pathom endpoint you can just enter the url in Pathom Viz and you will have the same behavior. http://localhost:8080/pathom

jmayaalv07:11:28

In fact we normally use this as it is easier to see changes in the resolvers without reloading the index manually.

Pragyan Tripathi11:11:09

Can you point me to the doc where I can learn how to configure REST pathom endpoint? or any sample configuration?

jmayaalv06:11:38

if you want automatic reloads without need to refresh the registry manually you would need to tweak a bit the interceptor so that you reload the index on each request (do this only for dev mode)

👍 1