Notepad++ asks if the file should be reloaded after manual reload



  • Re: Notepap++ asks if the file should be reloaded after manual reload

    Using Notepad++ 7.8.5 (64-bit).

    When monitoring log files, I hit Alt-f-l to reload the log file (same as File → Reload from Disk), the file reloads, and then immediately prompts to ask if I want to reload it.

    Testing with a slow moving log file. There are no changes to it between when I manually reload, and the prompt occurs.

    The prompt only occurs when there is a change as of when I manually reload the file.

    I don’t want to turn on silent update.

    I think what’s probably happening is a quick focus change, causing the prompt prior to completing the manual reload.

    If that’s the case, the solution would could be a way to reload the file without the tab losing focus.



  • @J-N

    npp has a callback FILEBEFORELOAD maybe this can/should be used
    by npp internally in order to clear any new update notification received
    at this point.
    Do you by any chance use PythonScript plugin??


Log in to reply