• Dark Theme
    • Categories
    • Register
    • Login
    HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE ignoring script edits except on startup?

    Scheduled Pinned Locked Moved General Questions
    9 Posts 4 Posters 460 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 7 May 2024, 21:51

      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?

      C 1 Reply Last reply 8 May 2024, 00:56 Reply Quote 1
      • C
        clevername27 @ally
        last edited by 8 May 2024, 00:56

        @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 8 May 2024, 20:38 Reply Quote 0
        • A
          ally @clevername27
          last edited by 8 May 2024, 20:38

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

          C 1 Reply Last reply 8 May 2024, 23:24 Reply Quote 1
          • C
            clevername27 @ally
            last edited by 8 May 2024, 23:24

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

            C 1 Reply Last reply 9 May 2024, 06:09 Reply Quote 0
            • C
              Christoph Hart @clevername27
              last edited by 9 May 2024, 06:09

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

              C 1 Reply Last reply 9 May 2024, 07:13 Reply Quote 0
              • C
                Christoph Hart @Christoph Hart
                last edited by 9 May 2024, 07:13

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

                S A 2 Replies Last reply 10 May 2024, 07:40 Reply Quote 4
                • S
                  sakorada @Christoph Hart
                  last edited by 10 May 2024, 07:40

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

                  C 1 Reply Last reply 12 May 2024, 19:23 Reply Quote 0
                  • C
                    clevername27 @sakorada
                    last edited by clevername27 5 Dec 2024, 19:23 12 May 2024, 19:23

                    @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 14 May 2024, 23:40

                      @Christoph-Hart Woohoo, perfect! Thank you!

                      1 Reply Last reply Reply Quote 0
                      3 out of 9
                      • First post
                        Last post

                      61

                      Online

                      1.9k

                      Users

                      10.8k

                      Topics

                      94.2k

                      Posts