     "copy:amsf__theme__to_app"
   ]
 
-  grunt.registerTask "theme-save", "Save current (previously activated) theme to AMSF cache", [
-    "copy:amsf__theme__to_cache"
-  ]
+  grunt.registerTask "theme-save", "Save current (previously activated) theme to AMSF cache", ->
+    if grunt.option("dev")
+      grunt.task.run [
+        "copy:amsf__theme__to_cache"
+        "shell:amsf__theme__to_dev_repo"
+      ]
+    else
+      grunt.task.run [
+        "copy:amsf__theme__to_cache"
+      ]
 
   grunt.registerTask "theme-activate", "Activate specific theme", [
     "theme-upgrade"


      jekyll:
        files: ["<%= config.app %>/**/*", "!_*", "_config*.yml"]
        tasks: ['jekyll:serve']

    uglify:
      dist:

      # Sync images to a separate CloudFront
      s3:
        command: "s3cmd sync -rP --guess-mime-type --delete-removed --no-preserve --cf-invalidate --add-header=Cache-Control:max-age=31536000 --exclude '.DS_Store' <%= config.cfg.static_files %> <%= config.cfg.s3_bucket %>"

      amsf__theme__to_dev_repo:
        command: "rsync -avz --delete --progress --exclude=.git <%= amsf.base %>/themes/<%= amsf.theme.current %>/ /Users/sparanoid/Git/amsf-<%= amsf.theme.current %> > rsync-theme-dev.log"

    concurrent:
      options:
