         module: "commonjs"
         emitDecoratorMetadata: true
         sourceMap: true
+        sourceRoot: 'app'
         removeComments: false
         verbose: true
       default:
         expand: true
         cwd: 'app/'
-        src: ['javascripts/*.ts']
-        dest: '_public/'
+        src: ['**/*.ts']
+        dest: 'public/'
 
     coffee:
       default:
         expand: true
         ext: '.js'
         cwd: 'app/'
-        src: ['javascripts/*.coffee']
-        dest: '_public/'
+        src: ['**/*.coffee']
+        dest: 'public/'
 
     jade:
       options:

  grunt.registerTask 'postinstall', ['build:prod']

  # Start the server with debug turned on.
  grunt.registerTask 'start:dev', ['express:dev', 'watch']

  # Start the server in test mode.
  grunt.registerTask 'start:test', ['express:test', 'watch']

  # Start the server in production mode.
  grunt.registerTask 'start:prod', ['express:prod']

        ]
      default:
        src: ['app/stylesheets/app.styl']
        dest: 'public/stylesheets/app.css'

    copy:
      # The native applicaton JavaScript files.
      js:
        expand: true
        cwd: 'app/'
        src: ['**/*.js']
        dest: 'public/'

      # The applicaton TypeScript files.
      ts:
        expand: true
        cwd: 'app/'
        src: ['**/*.ts']
        dest: 'public/'

      # The applicaton JSON files.
      json:
        expand: true
        cwd: 'app/'
        src: ['**/*.json']
        dest: 'public/'

      # The images and icons.
      static:
        expand: true
        src: ['static/**']
        dest: 'public/'

      # Note: this task is only used to copy CSS map files. The
      # CSS style files themselves are copied to the destination
