Releases: FutureMillennium/CompileWatchdog
Compile Watchdog v1.1
Watches files in a folder and runs a compile command when any are changed
A portable Windows utility mainly intended for the Haxe programming language, but can run any commands, including your favourite compilers.
Download Compile Watchdog v1.1
Requires .NET Framework 4.8, which should already be included with Windows.
New in v1.1
- Live console output while compiling.
- No longer blocks while compiling.
- Compilation can be cancelled.
- Handles settings.xml errors.
- Does not save settings.xml if watched dirs are empty (like on a settings.xml read error).
Watched directories – a list of directories that are being monitored for file changes. Drag and drop a directory into the window to add it to the list. When checked, watches for all file changes including subdirectories.
Compile command – the command that is run via cmd.exe /c
when any files are changed. The working directory is always the watched directory, regardless of which file was changed. Chain multiple commands with &
(always) or &&
(only on success of the previous command).
Ignore – a list of paths that are ignored, separated by semicolons (;), relative to the watched directory. For example, if “ignore” is bin;.git
and the watched directory is C:\projects\foo
, then these paths will be ignored: C:\projects\foo\bin
, C:\projects\foo\.git
Last standard output – the output of the compile command when it was last run.
Last standard error – typically, if the compile command fails, the error message will be here.
If both outputs are empty, "(The output was empty.)" is shown.
Compile all now – runs the compile command immediately for all watched directories with a checkmark.
Pop up on compilation error – if checked, the window will pop up when the compile command fails, so you can see the error message.
Minimise to tray – hide the window into the system tray aka “notification area”. This also happens when you close the window. You can also hide the window by pressing [Escape].
Quit – stop watching files and quit the application.
I made this because existing solutions I found required several (!) package managers and had dozens of dependencies, and that's just no good.
It should be possible to compile this with much older versions of .NET Framework, as it doesn't do anything unusual. I have no idea which versions of .NET Windows ships with these days. I would hope it would “just work”, but you never know with Microsoft.
Compile Watchdog v1.0.1
Watch files in a folder and run a compile command when any are changed
A portable Windows utility intended for the Haxe programming language, but can run any commands, including your favourite compilers.
Download Compile Watchdog v1.0.1
Requires .NET Framework 4.8, which should already be included with Windows.
New in v1.0.1 – Ignore – is now a list of paths that are ignored, separated by semicolons (;), relative to the watched directory. For example, if the watched directory is C:\projects\foo
and “ignore” is bin;.git
, then these paths will be ignored: C:\projects\foo\bin
, C:\projects\foo\.git
Watched directories – a list of directories that are being monitored for file changes. Drag and drop a directory into the window to add it to the list. When checked, watches for all file changes including subdirectories.
Compile command – the command that is run via cmd.exe /c
when any files are changed. The working directory is always the watched directory, regardless of which file was changed. Chain multiple commands with &
(always) or &&
(only on success of the previous command).
Last standard output – the output of the compile command when it was last run.
Last standard error – typically, if the compile command fails, the error message will be here.
If both outputs are empty, "(The output was empty.)" is shown.
Compile all now – runs the compile command immediately for all watched directories with a checkmark.
Pop up on compilation error – if checked, the window will pop up when the compile command fails, so you can see the error message.
Minimise to tray – hide the window into the system tray aka “notification area”. This also happens when you close the window. You can also hide the window by pressing [Escape].
Quit – stop watching files and quit the application.
I made this because existing solutions I found required several (!) package managers and had dozens of dependencies, and that's just no good.
It should be possible to compile this with much older versions of .NET Framework, as it doesn't do anything unusual. I have no idea which versions of .NET Windows ships with these days. I would hope it would “just work”, but you never know with Microsoft.
Compile Watchdog 1.0
Watch files in a folder and run a compile command when any are changed
A portable Windows utility mainly intended for the Haxe programming language, but can run any commands, including your favourite compilers.
Download Compile Watchdog 1.0
Requires .NET Framework 4.8, which should already be included with Windows.
Watched directories – a list of directories that are being monitored for file changes. Drag and drop a directory into the window to add it to the list. When checked, watches for all file changes including subdirectories.
Compile command – the command that is run via cmd.exe /c
when any files are changed. The working directory is always the watched directory, regardless of which file was changed. Chain multiple commands with &
(always) or &&
(only on success of the previous command).
Ignore – a path relative to the watched directory that is ignored. For example, if the watched directory is C:\projects\foo
and you want to ignore C:\projects\foo\bin
, you would enter bin
.
Last standard output – the output of the compile command when it was last run.
Last standard error – typically, if the compile command fails, the error message will be here.
If both outputs are empty, "(The output was empty.)" is shown.
Compile all now – runs the compile command immediately for all watched directories with a checkmark.
Pop up on compilation error – if checked, the window will pop up when the compile command fails, so you can see the error message.
Minimise to tray – hide the window into the system tray aka “notification area”. This also happens when you close the window. You can also hide the window by pressing [Escape].
Quit – stop watching files and quit the application.
I made this because existing solutions I found required several (!) package managers and had dozens of dependencies, and that's just no good.
It should be possible to compile this with much older versions of .NET Framework, as it doesn't do anything unusual. I have no idea which versions of .NET Windows ships with these days. I would hope it would “just work”, but you never know with Microsoft.