{"action":"closed","issue":{"url":"https://api.github.com/repos/quil/quil/issues/157","labels_url":"https://api.github.com/repos/quil/quil/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/quil/quil/issues/157/comments","events_url":"https://api.github.com/repos/quil/quil/issues/157/events","html_url":"https://github.com/quil/quil/issues/157","id":82104465,"number":157,"title":"Cannot change drawing behaviour by re-evaluating \"draw\" function in clojurescript","user":{"login":"sp3ctum","id":300791,"avatar_url":"https://avatars.githubusercontent.com/u/300791?v=3","gravatar_id":"","url":"https://api.github.com/users/sp3ctum","html_url":"https://github.com/sp3ctum","followers_url":"https://api.github.com/users/sp3ctum/followers","following_url":"https://api.github.com/users/sp3ctum/following{/other_user}","gists_url":"https://api.github.com/users/sp3ctum/gists{/gist_id}","starred_url":"https://api.github.com/users/sp3ctum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp3ctum/subscriptions","organizations_url":"https://api.github.com/users/sp3ctum/orgs","repos_url":"https://api.github.com/users/sp3ctum/repos","events_url":"https://api.github.com/users/sp3ctum/events{/privacy}","received_events_url":"https://api.github.com/users/sp3ctum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-28T20:10:30Z","updated_at":"2015-05-29T16:49:39Z","closed_at":"2015-05-29T16:49:39Z","body":"Hi, I noticed this project a couple of weeks ago and finally gave it a try. I'm absolutely thrilled but also absolutely new and, unfortunately stuck as well.\r\n\r\nI have a canvas that I can draw stuff to, but when I change my `draw` function I don't see the change in my browser window which I have open. I use figwheel to compile and reload the javascript on the page after each save. Evaluating the forms by hand does not change the result either.\r\n\r\nWhat could I be doing wrong?\r\n\r\nHere is my code:\r\n\r\n```lisp\r\n(ns codejam-practice-solutions.core\r\n  (:require [quil.core :as q :include-macros true]))\r\n\r\n(enable-console-print!)\r\n\r\n(defn draw []\r\n  (print \"draw called at\" (js/Date.)))\r\n\r\n(defn setup []\r\n  (q/frame-rate 1)\r\n  (print \"setup called at\" (js/Date.)))\r\n\r\n(q/defsketch my-sketch\r\n  :host \"canvas\"\r\n  :draw draw\r\n  :setup setup\r\n  :size [300 300])\r\n```"}}