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

Behavior with SublimeText #722

Closed
brandonparsons opened this issue May 14, 2014 · 7 comments
Closed

Behavior with SublimeText #722

brandonparsons opened this issue May 14, 2014 · 7 comments

Comments

@brandonparsons
Copy link

All of the files generated by broccoli in the tmp/ directory cause ST3 CPU usage to go through the roof (I suspect it is trying to index them all for the GoToAnything functionality).

This can be fixed by adding the following to your user settings:

// folder_exclude_patterns and file_exclude_patterns control which files
// are listed in folders on the side bar. These can also be set on a per-
// project basis.
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "tmp/class-*", "tmp/es_*", "tmp/jshinter*", "tmp/replace_*", "tmp/static_compiler*", "tmp/template_compiler*", "tmp/tree_merger*", "tmp/coffee_script*", "tmp/concat-tmp*", "tmp/export_tree*", "tmp/sass_compiler*"]

Just put this here in case you wanted to include it in the docs.

@stefanpenner
Copy link
Contributor

@brandonparsons good point, @lukemelia brought this up earlier, but we both forgot to document it.

@vire
Copy link

vire commented May 14, 2014

I've had a similar issue on WebStorm 8 with the tmp/ dir - when the IDE tried to re-index files on each LiveReload but there were spontaneous UI blocking moments. Marking the tmp as excluded was quite helpful, now the hangs are gone.

With ST3 I've had this very similar problem - 90% CPU usage when the folder was added to project.

@mehulkar
Copy link
Contributor

👍 thanks for this!

@abuiles abuiles added the docs label May 18, 2014
@abuiles
Copy link
Member

abuiles commented May 18, 2014

@brandonparsons thanks! maybe could please add this to the docs? Probably under common issues. @stefanpenner closing in favor of PR to the docs.

@abuiles abuiles closed this as completed May 18, 2014
@brandonparsons
Copy link
Author

I'll create a pull request to add to the docs. Don't know how to update the instructions on Stefan's page though.

@nick-lehmann
Copy link

Due to some changes ember-cli is now creating files with other names in the /tmp/ directory. These are not included in the mentioned solution. I created a pull request for that.

@skylar
Copy link

skylar commented Jun 23, 2015

👍 this was super helpful. please keep updating the docs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants