HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE ignoring script edits except on startup?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 4 Posters 564 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ally
      last edited by

      HISE has suddenly starting ignoring edits to scripts made in external editors. I’ll edit a script in Sublime (or TextEdit or any other editor), save it, then hit compile in HISE, but the changes won’t take effect until I restart HISE. If I open the script in HISE’s editor and edit it there, it works fine.

      The “Save connected files on compile” option in Project Settings has no effect on this. I also recompiled from the source code I had (from 4/29), then tried again using the most recent version of HISE (develop branch) to no avail. I also deleted the config files at ~/Library/Application Support/HISE and let them regenerate themselves… Are there more files somewhere else? (I’m on Mac.)

      This just started suddenly yesterday after I’d already been working in HISE for hours. I didn’t notice anything weird, my changes just stopped showing up. No clue what I could’ve possibly done! Any ideas?

      clevername27C 1 Reply Last reply Reply Quote 1
      • clevername27C
        clevername27 @ally
        last edited by

        @ally I've had the same experience with the latest Dev build I compiled. I assumed it was something I wasn't doing correctly. And still may be. Saving is weird is in HISE. How experienced are you with HISE?

        A 1 Reply Last reply Reply Quote 0
        • A
          ally @clevername27
          last edited by

          @clevername27 About 3 years in... I've definitely experienced some weird saving things before but nothing like this! When did you compile last?

          clevername27C 1 Reply Last reply Reply Quote 1
          • clevername27C
            clevername27 @ally
            last edited by

            @ally April 27th, 2024. macOS. I had to stop using an external text editor.

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @clevername27
              last edited by

              Ah yes that might be a regression from embedding the script files in a snippet. I'll investigate.

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @Christoph Hart
                last edited by

                Alright, this is fixed now, files will check every 3 seconds and reload if they are edited externally.

                S A 2 Replies Last reply Reply Quote 4
                • S
                  sakorada @Christoph Hart
                  last edited by

                  @Christoph-Hart Is there an option for auto compile on file save in external editor?
                  (Reload and Compile)

                  clevername27C 1 Reply Last reply Reply Quote 0
                  • clevername27C
                    clevername27 @sakorada
                    last edited by clevername27

                    @sakorada I don't think so, but you could write a script for your OS that monitors the individual files in a directory, and sends a key command for F5 whenever there's a change.

                    1 Reply Last reply Reply Quote 0
                    • A
                      ally @Christoph Hart
                      last edited by

                      @Christoph-Hart Woohoo, perfect! Thank you!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      48

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts