Arcath / compile-watch

Watch and compile files with atom
3 stars 0 forks source link

Uncaught TypeError: Cannot read property 'attach' of null #9

Open skybluesofa opened 8 years ago

skybluesofa commented 8 years ago

Similar to another issue, but the line numbers and versions are different.

[Enter steps to reproduce below:]

  1. Open .scss file
  2. Shift-Control-W to watch the file

Atom Version: 1.8.0 System: Mac OS X 10.11.3 Thrown From: compile-watch package, v0.1.4

Stack Trace

Uncaught TypeError: Cannot read property 'attach' of null

At /Users/daverogers/.atom/packages/compile-watch/lib/compile-watch.coffee:76

TypeError: Cannot read property 'attach' of null
    at Object.module.exports.watchFile (/Users/daverogers/.atom/packages/compile-watch/lib/compile-watch.coffee:76:35)
    at atom-workspace.<anonymous> (/Users/daverogers/.atom/packages/compile-watch/lib/compile-watch.coffee:39:24)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

  2x -4:32 core:move-down (atom-text-editor.editor.mini.is-focused)
     -4:30.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:30.6.0 compile-watch:watch (atom-text-editor.editor)
     -4:00.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -3:58.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -3:58 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:58 compile-watch:watch (atom-text-editor.editor)
     -0:14 command-palette:toggle (div.pane-item.native-key-bindings.about)
     -0:11.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -0:10.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:09.1.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:09.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:03.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  2x -0:01.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:00.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:00.7.0 compile-watch:watch (atom-text-editor.editor)

Config

{
  "core": {
    "disabledPackages": [
      "build-sass",
      "sass-compiler",
      "sass-autocompile",
      "sass-watch"
    ]
  }
}

Installed Packages

# User
compile-watch, v0.1.4

# Dev
No dev packages