Latrasis / linter-solidity

Atom Linter support for Solidity
Other
27 stars 10 forks source link

Saving a file takes too long #4

Closed kyroy closed 8 years ago

kyroy commented 8 years ago

When editing a file and saving the changes, it takes ~10 seconds to finish. Meanwhile the atom freezes.

I am working on this contract: https://github.com/ise-ethereum/on-chain-chess/blob/develop/contract/Chess.sol

Latrasis commented 8 years ago

@Kyroy:

This is mainly how nodejs works, since it's singlethreaded and how solcjs is blocking which linter-solidity depends on. I'll see if I can setup a child process.

Latrasis commented 8 years ago

Added a non-blocking child-process at: https://github.com/Latrasis/linter-solidity/commit/a955e5df487e81add0e444224960f04e6c1e76f6, v0.4.0

lewisbarber commented 7 years ago

Strange, this is still happening for me, only installed today... Node v8.1.2, Solidity v0.4.13...

Any ideas?

EDIT: Ah never mind, Atom doesn't block, but it still takes ~10s for the linter to update? Is this the expected behaviour?