How to auto update the js and css in assets folder of the project

I’ve created a module and have registerd my css and js files in it but when i change do some modification in my files those changes don’t reflect in the css and js present in the assets folder therefore my changes didn’t implemented in my website

Does anyone know a way so the assets folder will access my updated css and js file

I don’t know but I would try linkAssets.
https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#asset-publishing