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

can nerdtree reload automatically when the file was changed? #462

Closed
ilovezy opened this issue Jun 30, 2015 · 1 comment
Closed

can nerdtree reload automatically when the file was changed? #462

ilovezy opened this issue Jun 30, 2015 · 1 comment

Comments

@ilovezy
Copy link

ilovezy commented Jun 30, 2015

hello, I am using gulpjs those days, sometimes I use gulp-uglify to a dist file,when it is done, the nerdtree did't refresh,I have to click "r" to refresh the nerdtree, but in sublime text, it will refresh when the files changed, so I am wondering can nerdtree do this,I look for all doc in help but did'n find something talk about this

@PhilRunninger
Copy link
Member

You can use autocmds in your vimrc to cause NERDTree to refresh when you save a file in vim. The 'autoread' setting will cause vim to watch the file system, and reload an open file if something else changed it. But there is no mechanism in NERDTree to watch the file system for changes. Polling would likely cause an undesirable performance hit.

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

No branches or pull requests

2 participants