ternjs/tern_for_sublime

Sublime locks up on any file edits

Opened this issue · 1 comments

sparr commented

When I open any javascript file and make an edit, or sometimes just when I open it, ST becomes nonresponsive. I can kill plugin_host to revive it, but then I have no plugins running. Disabling TernJS via Package Control makes the problem go away.

This gist contains an Apple error report taken during the problem: https://gist.github.com/sparr/38279738a6f5f4d8ade19a24563ad0df

Having similar issue, tracked it down to webpack plugin.
Here what my .tern-project looks like:

{
	"libs": [
		"ecma5",
		"ecma6",
		"browser",
		"react"
	],
	"dontLoad": [
	    "./dist/**"
	],
	"plugins": {
		"webpack": {
			"configPath": "./webpack.config.js"
		}
	}
}

Initially, i have completion working (suggestions pop up on []. input), but it hangs editor on pretty much any import statement being typed (trying import mobx from 'mobx' it hangs on f in from).