mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-29 11:11:53 -07:00
Log information about xmonad compile + avoid unnecessary recompile
Particularly with the addition of build scripts, it can be tricky to figure out what XMonad is doing when attempting recompilation. This makes it clearer by adding some logging. Due to this logging, I noticed that the lag of xmonad start was because it was always recompiling! When I startup my computer, I do not want it to delay rebuilding my window manager. This also fixes that issue such that it only recompiles XMonad if it is going to reinvoke due to getProgName not being the expected string.
This commit is contained in:
12
CHANGES.md
12
CHANGES.md
@@ -23,6 +23,18 @@
|
||||
* Restored compatability with GHC version prior to 8.0.1 by removing the
|
||||
dependency on directory version 1.2.3.
|
||||
|
||||
* xmonad no longer always recompile on startup. Now it only does so if the
|
||||
executable does not have the name that would be used for the compilation
|
||||
output. The purpose of recompiling and executing the results in this case is
|
||||
so that the `xmonad` executable in the package can be used with custom
|
||||
configurations.
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Whenever xmonad recompiles, it now explains how it is attempting to
|
||||
recompile, by outputting logs to stderr. If you are using xmonad as a custom
|
||||
X session, then this will end up in a `.xsession-errors` file.
|
||||
|
||||
## 0.13 (February 10, 2017)
|
||||
|
||||
### Breaking Changes
|
||||
|
Reference in New Issue
Block a user