Atom编辑器不会重新加载更改的文件 [英] Atom editor does not reload changed file

查看:219
本文介绍了Atom编辑器不会重新加载更改的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 7上使用Atom编辑器.在git shell上,当我运行命令git reset --hard时,所有其他编辑器都会重置/撤消所有已修改的文件.但是,如果我使用ATOM编辑器,则会保留更改.如果我尝试在编辑器中关闭文件,Atom询问文件已更改,是否要保存更改.

I am using Atom editor on Windows 7. On the git shell when I run the command, git reset --hard , all the other editors reset/undo all the modified files. but if I am using ATOM editor, changes are retained. If I try to close the file in editor, Atom ask, file is changed, do you want to save the changes.

在外部修改文件时,如何强制Atom撤消更改.

How can I force Atom to undo changes when files are modified externally.

推荐答案

根据 https://discuss.atom.io/t/auto-reload-changed-files/8451/6

According to https://discuss.atom.io/t/auto-reload-changed-files/8451/6, FileWatcher is an Atom package which will do what you want.

这篇关于Atom编辑器不会重新加载更改的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆