If you use the deployment folder you can use a xyz.war directory instead of a war file. you are able to manipulate the files there.
For some types you still need a redeploy, others changes take direct effect.
Also you need to have marker files to trigger deployment, like xyz.war.dodeploy file
See the wildfly documentation for this.
But if i use remote deploy using cli commands, how can I use deployment folder? What's a marker file?
Lot of thanks,
If you use CLI this is a managed deployment and you can't deploy exploded archives from remote.
So it is not possible than
but there are other options
trough remote CLI you can deploy exploded app, but you need to copy it manually.
see what are the options that deploy --help outputs, explodered & unmanaged are what are you looking for.
as for static files go, you don't need to serve them trough war/ear but they can be served directly from anywhere on disk.
see file-handler config in undertow subsystem for more. doing this also bypasses few layers and speeds up serving static files...