Started a new chestnut project: When changing app-state, browser doesn't refresh

Hey everybody,

Just fired up a brand new Chestnut project for the first time ever. I’m using the Atom editor and loading the page in my Chrome browser.

Whenever I edit app-state, the terminal will say “notifying browser that file changed” but the browser doesn’t actually refresh. It works fine whenever I edit style.css or change dom/h1 to dom/h2.

I’m guessing this is intentional. Can anybody explain why updating app-state doesn’t change anything though? Thanks!

Hi there, the text doesn’t reload because it is set once in the source:

(defonce app-state ..)

If you want it to reload every time, you can change it to:

(def app-state ..)