Did you know ... | Search Documentation: |
Pack inotify -- prolog/in_make.pl |
This library simplifies the development cycle by reloading source files
immediately when they are saved, regardless of the process that saved
the file (i.e., this may be an external editor). To use it, add the
following to the load file of your project or your init.pl
file.
:- if(exists_source(library(in_make))). :- use_module(library(in_make)). :- initialization(in_make). :- endif.
Note that the files are reloaded by the in_make
thread. If reloading
affects thread-local properties these may not be visible in all threads.
Examples are global variables, thread_local predicates and Prolog flags.