Working with .m files interactively is not supported yet. You would need to keep two tabs open, one with the .m editor and one notebook to load and evaluate.