theme assets get reloaded if modified
did
committed Jan 08, 2013
commit cfbb2a6aa1d84764e61fdef84e31f76a9ece1f50
Showing 3
changed files with
9 additions
and 7 deletions
TODO
+7
-5
| @@ | @@ -11,7 +11,7 @@ x liquid assigns: sessions (rack) |
| x I18n keys | |
| x fr/en | |
| x other locales | |
| - | - static js/css assets (non coffeescript or sass files) are not reloaded if got changed. |
| + | x static js/css assets (non coffeescript or sass files) are not reloaded if got changed. |
| - content types / liquid | |
| - group_contents_by | |
| - select_names | |
| @@ | @@ -20,10 +20,12 @@ x I18n keys |
| - other exceptions | |
| - nice logs | |
| - params to launch the thin server (port, address ?) | |
| - | - push: |
| - | - option to select to push only some parts (pages, ...etc) |
| - | - --force option |
| - | |
| + | - commands: |
| + | - push: |
| + | - option to select to push only some parts (pages, ...etc) |
| + | - --force option |
| + | - pull |
| + | - create |
| - translations | |
locomotive/builder/misc/i18n.rb b/lib/locomotive/builder/misc/i18n.rb
+1
-1
| @@ | @@ -1,4 +1,4 @@ |
| Dir[File.join(File.dirname(__FILE__), "/../../../../locales/*.yml")].each do |locale| | |
| - | puts "[Builder|I18n] register #{locale}" |
| + | puts "[Builder|I18n] register #{File.basename(locale)}" |
| ::I18n.config.load_path << locale | |
| end | |
| \ No newline at end of file | |
locomotive/builder/server/dynamic_assets.rb b/lib/locomotive/builder/server/dynamic_assets.rb
+1
-1
| @@ | @@ -16,7 +16,7 @@ module Locomotive::Builder |
| end | |
| if asset | |
| - | [200, { 'Content-Type' => mime_type }, [asset.content]] |
| + | [200, { 'Content-Type' => mime_type }, [asset.content!]] |
| else | |
| [404, { 'Content-Type' => mime_type }, ['Asset not found']] | |
| end | |