               editor            : "JSEditor"
               handleFileOpen    : (file, content) =>
 
+                @switchMode 'develop'
+
                 {CSSEditor, JSEditor} = @workspace.activePanel.panesByName
 
                 switch FSItem.getFileExtension file.path


    KD.utils.defer =>
      @previewApp yes; @previewCss yes

class DevToolsEditorPane extends CollaborativeEditorPane


      JSEditor.loadFile  "[#{vmName}]#{appPath}/index.coffee"
      CSSEditor.loadFile "[#{vmName}]#{appPath}/resources/style.css"

      @switchMode 'develop'

  publishCurrentApp:->

    {JSEditor} = @workspace.activePanel.panesByName
