Scailng texture uv automaticly with mesh scaling

are there anyway to making World space texture scaling like that in this video https://www.youtube.com/watch?v=df7zCSNP-pg with blender view port to help in texturing side walk mesh that will be need to duplicated many time and re scaled many times and i want to be sure the sizes of uv will be the same every time i scale it and will’t be scratched i wanna to know there are any way to make a dynamic uv texture resizing with every time i scale the mesh i hope i explained it right