Galooshi / atom-import-js

Atom plugin for ImportJS
MIT License
36 stars 3 forks source link

when importing, atom hangs #25

Closed macrozone closed 7 years ago

macrozone commented 7 years ago

I updated some packages and reinstalled watchman.

now, when i try to import with cmd+shift+i, atom sometimes hang and has to be killed :-(

using latest version 0.11.0

trotzig commented 7 years ago

Ouch. I wonder if this could be the same issue as #22? Do you happen to remember what packages you updated? @hexsprite had a theory about incompatible packages but couldn't isolate it to a single one. Perhaps if you list your updates (even from memory if there is no physical trace) we can work together to come up with an isolated reproduction case?

macrozone commented 7 years ago

@trotzig

I updated nuclideand some other packages (i just hit update all). I had also some problems with react-native packager, so i needed to reinstall watchman. I therefore suspect it might have something to do with watchman. Can i disable watchman for importjs without uninstalling it?

I am also using flow-type.

trotzig commented 7 years ago

There might be a way to disable watchman for a specific directory, not sure. There's no way to do this through import-js configuration unfortunately.

hexsprite commented 7 years ago

@macrozone you could try to reproduce the problem with only atom-import-js and required deps loaded then re-add your plugins one by one until you find the issue ;)

macrozone commented 7 years ago

it works again after updating nuclide or after switching to atom-ide ;-)