digital chip trigger output high on change input
Although I hate to say it, sounds like a job for a 555.

The RC and XOR gate on the trigger detects the edges on the input signal and triggers the 555 configured as a ~1mS one-shot.







simulate this circuit &ndash; Schematic created using CircuitLab

Adjust R2 and C3 to get the pulse width you desire.

The following are test waveforms when you feed the circuit with the 100Hz signal, shown at top,  note each edge produces one pulse on the bottom waveform.