I once had an inspector that made me put the lights in a workshop area ahead of the GFI. He didn't want the GFI to trip while someone might be operating a saw and injure themselves. I tried to tell him that the saw would not work if the lights were out but he would not listen.