Comments (9)
Hi @mikedoth, can you be a bit more specific please? I tested in the latest version I have (1.0.10) and it was working as expected. Can you check for any error messages in the dev console?
from file-watcher.
Atom claims 1.0.7 is the latest version and will not update beyond that. I
opened a test document in dev mode, then the same document in notepad. I
edited the notepad file and saved it and atom just updates without throwing
any console errors or notifications. Also I have the box checked in the
extension.
On Wed, Sep 2, 2015 at 3:21 PM, Laurence Blackledge <
[email protected]> wrote:
Hi @mikedoth https://github.com/mikedoth, can you be a bit more
specific please? I tested in the latest version I have (1.0.10) and it was
working as expected. Can you check for any error messages in the dev
console?—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from file-watcher.
Using version 1.0.11 on Linux Mint Debian Edition with KDE 4, this bug happens here as well.
Opened file in Atom, open same file in another editor, add some text and save file.
Atom instantly updates the file, new text appears and no message what so ever appears in Atom, nothing appears in the dev console either.
from file-watcher.
This is a duplicate of issue #2. This package just hooks into the conflict event raised by atom\text-buffer
, which does not fire an event if the file changes and there are no changes pending within the atom editor.
I am looking into adding this as an option but so far I have been unsuccessful.
from file-watcher.
My coworker helped me find the proper error, and fyi I am on windows.
'diff' is not recognized as an internal or external command, ooperable
program or batch file.
On Wed, Sep 9, 2015 at 9:20 AM, Laurence Blackledge <
[email protected]> wrote:
This is a duplicate of issue #2
#2. This package
just hooks into the conflict event through by atom\text-buffer, which
does not fire an even if the file changes and there are no changes
pending within the atom editor.I am looking into adding this as an option but so far I have been
unsuccessful.—
Reply to this email directly or view it on GitHub
#3 (comment)
.
from file-watcher.
Interesting, you might have a deeper problem with your Atom install.
I do not use diff
anywhere in file-watcher
but it is used in text-buffer for a couple of operations.
Can you try a clean install or Atom? You might need to raise an issue for atom or text-buffer directly.
However, the scenario you described in this comment is the same as issue #2, and not something that I can fix right now since it involves intercepting or overriding the text-buffer code.
from file-watcher.
Disregard my last comment.. I confused this problem with another. I was trying to get atom-cli-diff to work property. As for this package, this morning I did a reinstall and have yet to see any new errors that would indicate it's broken, but it still does not work.
from file-watcher.
Hi @mikedoth,
The scenario you described here is actually not what this package was created to do:
Atom by default will reload a file if you have not made any changes. This is controlled by text-buffer and something I am working on as part of issue #2.
I made this originally to show a prompt if you have made changes and something changes the file on disk. By default Atom will just ignore disk changes and not show a prompt.
Consider this scenario:
- Open a document in Atom
- Add text (unsaved changes)
- Open the same document in notepad
- Add text in notepad and save
- Check Atom and see that the text from step 2 is still there
I created this package to add a prompt in atom between step 4 and 5 because I want to know if something changes the file I'm working on.
If you do not add text at step 2, at step 5 you will see that Atom reloaded the file because there were no unsaved changes.
I hope that makes this clearer.
from file-watcher.
I can't get the package to work either. Using Ubuntu 16.10 and Atom 1.12.7. I make external changes, nothing happens. No prompt, no reload no nothing :'(
from file-watcher.
Related Issues (20)
- Path must be a string. Received undefined
- Changing Branchs HOT 3
- Add "Reload All" option HOT 5
- Reload all changes of the same file together HOT 1
- No prompt when using filezilla HOT 3
- File is not updated in Atom when it was edited outside Atom HOT 3
- Uncaught TypeError: this.editor.buffer.updateCachedDiskContents is not a function HOT 3
- Is there a way to make it work with PyCharm 'safe write'? HOT 1
- Failed to load the file-watcher package HOT 4
- Only show message once when file is foreground
- Uncaught (in promise) Error: Invalid encoding name: windows1252 HOT 2
- The plugin is not working with Atom 1.23.3 and macOS 10.13.2 HOT 1
- Prompt on change does not work on nfs files changed outside Atom HOT 1
- Not prompting on change and reloading automatically even with option turned off. HOT 4
- "Mounted file systems" in documentation is misleading. HOT 2
- file-watcher is completely inconsistent HOT 4
- AutoReload to confirm only if has unsaved changes
- Add an option to avoid bringing the atom window to the foreground when a file has changed HOT 2
- File won't reload when doing "git checkout"
- How this work in VisualCode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from file-watcher.