I currently write my fortran modules using a text editor and compile on the command line in OS X terminal (new bash fixed). However I noticed something strange. Even if I save my f90 file with modifications then often when I compile and link I notice that any fixes to errors are not immediately picked up as though the compiler is using a cached copy of my old code. However if I type the unix command "ls -alt" then compile then my my edits appear to be read immediately. I use command S to save from my text editor
Normally in an IDE I would instigate a clean and build if not sure - is there an equivalent compiler flag or am I imagining things, bug in my editor, bash shell ?