Add daily email for 2024-03-22
Watching all the things
This commit is contained in:
parent
2ab7f0d05e
commit
b5bfd73370
21
source/_daily_emails/2024-03-22.md
Normal file
21
source/_daily_emails/2024-03-22.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Watching all the things
|
||||
date: 2024-03-22
|
||||
permalink: archive/2024/03/22/watching-all-the-things
|
||||
tags:
|
||||
- software-development
|
||||
- php
|
||||
cta: ~
|
||||
snippet: |
|
||||
For some things, I use watch commands. For others, I have integrations in ny text editor.
|
||||
---
|
||||
|
||||
[In yesterday's email][yesterday], I mentioned that I use watch commands such as `nodemon`, `watchexec` and `entr` whilst developing to run commands automatically when I change code.
|
||||
|
||||
For example, running `find web/modules/custom | entr ./run test` will re-run my test suite when any custom module changes.
|
||||
|
||||
This works well for tests, but for other checks, such as static analysis with PHPStan or coding standards with PHPCS, I have integrations in Neovim, and I get real-time feedback as I code.
|
||||
|
||||
If a line fails static analysis or coding standards, a diagnostic message is shown so I can fix it immediately, and I don't need to use a watcher or wait for my CI pipeline to fail.
|
||||
|
||||
[yesterday]: {{site.url}}/archive/2024/03/21/git-hooks---yay-or-nay
|
Loading…
Reference in a new issue