7
edits
Changes
→Build system
| Inotify/watchman daemon for mach
| '''Issues to be solved'''
* <code>./mach build</code> is slowunless you specify a list of changed files
* <code>hg qref</code> is slow
* <code>./mach build</code> does not always work when applied to a single file for incremental. Some js/xul files need a build of the folder or parent folder.
Using inotify or watchman, keep track of the files being changed in the source dirs. This can be done in two ways:
Directly integrate it with mach and provide it with a mode where it reads the last-updated files from a log of the daemonand builds just those. Possibly provide Or, integrate it with qref (some [https://bitbucket.org/facebook/hgwatchman partial] [http://mercurial.selenic.com/wiki/InotifyExtension solutions] for this already exist), possibly as a separate but similar system for qrefMercurial extension and make hg read the files to be changed from the active patch. This only deals with changes being added, if a patch is popped or a change is removed from a patch, there needs to be a mechanism to notice this as well.
Original idea credit: @ckitching