Adding compile on edit as a flag.