lein-figwheel

dirklectisch 2017-12-28T08:59:37.000030Z

How does one enable pretty printing at the Figwheel repl? I tried the following but it doesn’t seem to make a difference. I would like to display my data with some indentation so I can understand the deeply nested ones better.

dirklectisch 2017-12-28T08:59:43.000186Z

dev:spoom.remotes.spotify=> (figwheel.client/set-repl-pprint true)
{:figwheel-repl-pprint true}
dev:spoom.remotes.spotify=> (om/query->ast [:aap])
{:type :root, :children [{:type :prop, :dispatch-key :aap, :key :aap}]}
dev:spoom.remotes.spotify=> (figwheel.client/set-repl-pprint false)
{:figwheel-repl-pprint false}
dev:spoom.remotes.spotify=> (om/query->ast [:aap])
{:type :root, :children [{:type :prop, :dispatch-key :aap, :key :aap}]}

dirklectisch 2017-12-28T09:05:40.000145Z

nvm it does work! Just needed a bigger example.