Arcath / compile-watch

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

Uncaught TypeError: Cannot read property 'file' of undefined #12

Open JPIglesias-Triangle opened 6 years ago

JPIglesias-Triangle commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.2 x64 Electron: 1.6.15 OS: Mac OS X 10.13.1 Thrown From: compile-watch package 0.1.4

Stack Trace

Uncaught TypeError: Cannot read property 'file' of undefined

At /Users/jpiglesias/.atom/packages/compile-watch/lib/compile-watch.coffee:52

TypeError: Cannot read property 'file' of undefined
    at Object.watchFile (/packages/compile-watch/lib/compile-watch.coffee:52:26)
    at /packages/compile-watch/lib/compile-watch.coffee:31:68)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:388:36)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1393:34)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -8:18.8.0 core:confirm (input.hidden-input)
     -6:19.7.0 core:save (input.hidden-input)
     -6:17.1.0 core:backspace (input.hidden-input)
  2x -6:16.3.0 core:save (input.hidden-input)
     -6:06.9.0 sass-autocompile:toggle-compile-on-save (input.hidden-input)
  2x -6:04.0 core:save (input.hidden-input)
     -5:59.4.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -5:57.3.0 core:backspace (input.hidden-input)
     -5:57 core:save (input.hidden-input)
     -1:00.2.0 core:confirm (input.hidden-input)
     -0:07.8.0 compile-watch:watch (div.tool-panel.tree-view)

Non-Core Packages

api-docs 0.0.6 
atom-beautify 0.30.5 
atom-html-preview 0.2.2 
autocomplete-paths 2.11.0 
busy-signal 1.4.3 
compile-watch 0.1.4 
emmet 2.4.3 
intentions 1.1.5 
isotope-ui 2.8.5 
linter 2.2.0 
linter-csslint 2.0.0 
linter-eslint 8.3.2 
linter-htmlhint 1.3.4 
linter-sass-lint 1.8.0 
linter-ui-default 1.6.10 
minimap 4.29.7 
sass-autocompile 0.13.3 
svg-preview 0.11.0 
teletype 0.1.4