Automatic asset publishing when developing a plugin

I usenpm run dev during plugin development. However, whenever I make changes to my CSS or JS code, I need to run filament:assets as well. Is this step necessary, and is there a way to automate it?
Was this page helpful?