我在places.js.coffee
查看位置控制器的表单页面时在文件内部工作。出于某种原因,我对 CofeeScript 文件所做的任何更改都不会反映在浏览器中。我尝试重新启动服务器,运行rake assets:clean
并手动删除内容/tmp/cache/assets/
,但没有任何效果。
我查看了终端中 rails 服务器的输出,发现了一些奇怪的东西:
Started GET "/assets/offers.js?body=1" for 127.0.0.1 at 2013-01-26 09:35:56 -0500
Served asset /offers.js - 304 Not Modified (0ms)
Started GET "/assets/partners.js?body=1" for 127.0.0.1 at 2013-01-26 09:35:56 -0500
Served asset /partners.js - 304 Not Modified (0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-26 09:35:56 -0500
Served asset /application.js - 304 Not Modified (6ms)
places.js
无处可寻!为什么是这样?我该如何解决?