{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/269ac623e8ba2de79e52b4a29fd85e47?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"269ac623e8ba2de79e52b4a29fd85e47","url":"https://api.github.com/users/samgro","login":"samgro","id":466879},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-01T18:44:04Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/sstephenson/sprockets/issues/236","body":"When I have a CoffeeScript syntax error, after the first call to my compiled JS asset, I get a Sprockets::CircularDependencyError until I restart the server. Sprockets 2.0.2, Rails 3.0.9.\r\n\r\nMy environment is set up in config.ru:\r\n\r\n<pre>\r\nrequire ::File.expand_path('../config/environment',  __FILE__)\r\nrequire 'sprockets'\r\n\r\nmap '/assets' do\r\n  environment = Sprockets::Environment.new\r\n  environment.append_path 'app/assets/coffeescripts'\r\n  environment.append_path 'app/assets/javascripts'\r\n  environment.append_path 'app/assets/stylesheets'\r\n  environment.append_path 'vendor/assets/javascripts'\r\n  run environment\r\nend\r\n\r\nmap '/' do\r\n  run Gpg::Application\r\nend\r\n</pre>","html_url":"https://github.com/sstephenson/sprockets/issues/236","number":236,"title":"Sprockets::CircularDependencyError after CoffeeScript syntax error","id":2113591,"created_at":"2011-11-01T18:44:04Z"},"action":"opened"}