You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I edit an HTML file that includes inline Script templates (e.g. Mustache or Handlebars), Sublime Text 2 is freezing/locking on save.
The only way to get out of this is to force-quit Sublime and reopen it; the JSHint process still runs in the background, however, and at a high CPU usage.
I've tried adding an ignore option to .jshintrc as suggested in #59, but this doesn't seem to be supported by JSHint.
For now, I've found that adding /* jshint ignore:start */ and /* jshint ignore:end */ comments immediately inside any inline <script type="text/template"> blocks stops Sublime locking up:
I can confirm this happening for me too. It's particularly frustrating because finding this open issue requires some guesswork as to what is causing it (all you get is a frozen Sublime Text).
If I edit an HTML file that includes inline Script templates (e.g. Mustache or Handlebars), Sublime Text 2 is freezing/locking on save.
The only way to get out of this is to force-quit Sublime and reopen it; the JSHint process still runs in the background, however, and at a high CPU usage.
I've tried adding an
ignore
option to.jshintrc
as suggested in #59, but this doesn't seem to be supported by JSHint.For now, I've found that adding
/* jshint ignore:start */
and/* jshint ignore:end */
comments immediately inside any inline<script type="text/template">
blocks stops Sublime locking up:The text was updated successfully, but these errors were encountered: