0

I have a weird scenario. I was updating a shared file in the portal last week. The function seemed to a little laggy but compiling successfully. A week later, with my team not editing, the function starts to throw compilation errors. So the question is at what point does the function compile and pull shared folders? Could the lag cause it not to reload this file for a week?

#load "../Shared/SomeSharedFile.csx"

Just trying to see if anything other than someone going in and editing the file cause this to start failing.

Janusz Nowak
  • 2,595
  • 1
  • 17
  • 36
M. Leffert
  • 11
  • 2
  • 1
    What are the errors? – garfbradaz Aug 01 '17 at 15:24
  • It can take up to a minute to see compilation errors in the portal, IME. I always run my functions after updating the code to check for errors. I build in debugging logic so I can run the function without modifying resources. – Dan Wilson Aug 01 '17 at 16:26
  • @DanWilson I do the same I ran the function everything compiled just fine. I ran it a few times. Just seems weird that it would take a week for it to start erroring out. – M. Leffert Aug 01 '17 at 16:35
  • @garfbradaz They were syntax errors. – M. Leffert Aug 01 '17 at 16:35

1 Answers1

0

Function compilation occurs when changes are made to the source and when new instances are brought up (as a result of an initial startup or scaling), but if there's a valid compilation error happening, that should only happen as a result of a file modification.

Fabio Cavalcante
  • 12,328
  • 3
  • 35
  • 43