Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloading window opens dev tools #57

Closed
idubinskiy opened this issue Jul 23, 2014 · 7 comments
Closed

Reloading window opens dev tools #57

idubinskiy opened this issue Jul 23, 2014 · 7 comments
Labels
bug Confirmed defect in package logic, deprecation notices, and PRs which fix them.

Comments

@idubinskiy
Copy link

With file icons enabled, reloading the window causes it to move to the center of the screen and open developer tools.

@DanBrooker
Copy link
Member

Is there an error in the developer console?

@idubinskiy
Copy link
Author

Yes, actually. Don't know why I didn't look there first.

Error: /Users/idubinskiy/.atom/packages/file-icons/stylesheets/features is a directory
  at new File (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/lib/file.js:31:15)
  at PackageWatcher.module.exports.Watcher.watchFile (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/watcher.js:75:16)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/package-watcher.js:39:19
  at PackageWatcher.module.exports.PackageWatcher.watch (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/package-watcher.js:64:9)
  at new PackageWatcher (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/package-watcher.js:30:12)
  at UIWatcher.module.exports.UIWatcher.createWatcher (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/ui-watcher.js:80:17)
  at UIWatcher.module.exports.UIWatcher.watchPackage (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/ui-watcher.js:74:55)
  at UIWatcher.module.exports.UIWatcher.watchPackages (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/ui-watcher.js:31:14)
  at new UIWatcher (/Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/ui-watcher.js:16:12)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/dev-live-reload/lib/dev-live-reload.js:15:21
  at /Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:85:24
  at /Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:133:30
  at Array.forEach (native)
  at PackageManager.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/emissary/lib/emitter.js:132:47)
  at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:87:19)
  at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/src/atom.js:375:21)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:14:8)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:20:4)
  at Module._compile (module.js:455:26)
  at Object.Module._extensions..js (module.js:473:10)
  at Module.load (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app/static/index.js:20:5)

@DanBrooker
Copy link
Member

/Users/idubinskiy/.atom/packages/file-icons/stylesheets/features is a directory, but that hasn't caused problems before.

What atom version are running? on OSX? and do you have anything related to file-icons in your user stylesheet.

@idubinskiy
Copy link
Author

Atom 0.117.0 on OS X. I did have some related code in my stylesheet, but I removed it to see if that was the problem and am still getting the error.

@DanBrooker
Copy link
Member

I managed to replicate the error when using dev-mode

@idubinskiy
Copy link
Author

Huh, nut sure why I was running in dev mode, but I definitely was. Weird.

@zhuochun
Copy link
Contributor

zhuochun commented Aug 1, 2014

+1 in dev-mode

@Alhadis Alhadis added the bug Confirmed defect in package logic, deprecation notices, and PRs which fix them. label Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed defect in package logic, deprecation notices, and PRs which fix them.
Projects
None yet
Development

No branches or pull requests

4 participants