Not sycning with modifications made in browser
I’m an old npp user, and when I used to use it, when you opened a web project on a browser (I’m using firefox) and made some change in it, it asked you if you wanted to sycn your changes made in browser. Now it’s not doing it anymore; is it an option I haven’t found, or does it link with the fact that I’m only “viewing my file” in browser and not executing it? If so, then how do I really execute my file with firefox?
Thanks in advance
This post is deleted!
I don’t remember ever seeing a “do you want to sync your changes” in the browser or in Notepad++… I am not sure how that would have worked either way.
If you have c:\path\to\my.html being edited in Notepad++, and you have file://c/path/to/my.html open in firefox for viewing, if you save changes in Notepad++, then all you have to do is do an F5/Refresh in firefox, and the updated HTML will be read by your browser. If that’s not the situation you have, you will have to describe it better.
@peterjones that’s the reverse problem I have, I’ll explain better:
I widely prefer to modifiy my CSS in broswer using the “inspect element” thing, as it’s easier to directly see every changes. But before, when I did that and then get back to npp, I was able to sync these changes.
In short, when I modified a file in browser, npp was asking me if I wanted these changes in my file. It prevented me from having to repeat every changes when I was satisfied with a result.
It’s not doing it anymore, but with your answer I’m wondering if it has ever been the case… I’m sure I haven’t invented it, as it was pointed you by one of my teacher and we used it a lot in classes.
Version of N++ you are using?
Debug Info is best, see
Sorry, I didn’t know that browsers would edit CSS files for you.
Notepad++ can watch for changes to files, and ask you to reload. See the Settings > Preferences > MISC which has a section for setting the preferences about File Status Auto-detection – it can choose to not look for the file to change (“Disable”) or enable it for either the current file or for all files; you can also choose whether it silently reloads in Notepad++, or asks your permission every time.
addendum: sometimes even when enabled, that file-status check can take a minute or so before it prompts you… I think notepad++ is just watching the last-modified-time of the file, which only has 1minute accuracy
@peterjones I’ve just check, it was disabled, now it works just well, thanks!