Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reload NinjaScript -- not loading new compile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reload NinjaScript -- not loading new compile

    There are certain conditions which are obscure to me....that when I am in a development cycte and am doing compiles and testing that the Reload Ninjascript option does nothing

    It does not pick up the latest compile.

    Sometimes even removing the indicator and puttting it back does not work.

    I have to shut down Ninja and reboot.

    What is the problem???


    #2
    Hello llanqui,

    That may be due to how you coded the item. The F5 reload only works for OnBarUpdate changes, if you make changes to the other parts of the indicator you would need to remove and re apply it to see those changes.

    Comment


      #3
      Interesting.

      Yes, I have keyboard and mouse events.

      As further information.....if I have a subscription to one of these events that I don't unsubscribe from (code bug) , the new code may be in effect after a compile, but also Ninja does not let go of the old code....so then one mouse down might fire on the old and the new scripts

      or perhaps ninja does not let go of the old version even though it is no longer a part of the new compile

      something like that

      took me awhile to understand what was going on

      Comment


        #4
        probably a Dot Net thing

        Comment


          #5
          Hello llanqui,

          Yes that would be what should happen if you don't unsubscribe from the event, the platform has no way of knowing that you have a subscription and won't clear those out for you.

          Comment


            #6
            took me a while to debug that... :-)

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            547 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            323 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            99 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            543 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            545 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X