Factor Language Blog

Better development workflow

Wednesday, September 6, 2006

Previously when you made changes to source files you were working on, you had to run-file them all by hand. There was also the reload word, which saved some keystrokes because it would reload the source file containing a definition. But now there’s a new way which beats both.

Factor now tracks the modification time of every source file in every loaded module. So you can change source files in a loaded module to your heart’s content, and then invoke reload-modules in the listener, or even better, just press F7 in the UI. This reloads all changed source files, in the correct order.