Discussed here https://github.com/asyncapi/html-template/issues/61 - I remove unused files by hook and it coping files infinitely.
In https://github.com/asyncapi/html-template do
ag test/spec/asyncapi.yml ./ -o test/output --force-write --watch-template -p singleFile=true
than change some files.

Not to generate files when output folder changes.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
https://github.com/asyncapi/generator/pull/337 should have fixed this issue 馃 @GordeevArt what generator version are you using?
@derberg any thoughts on the issue? (Edit: just read the discussion nwm 馃槃)
@jonaslagoni I use latest @asyncapi/[email protected] version
@jonaslagoni I forgot I fixed it some time ago 馃槅 I just checked quickly on local and for me my fix still works 馃槃
@GordeevArt are you a windows user? or?
@derberg Fedora Linux 5.7.15-100.fc31.x86_64
Try to change something in output folder (index.html).
it matters just for developing with parameter singleFile=true.
@GordeevArt I tried to do changes manually in output, also added a hook that you added without any parameters so it always runs, and no effect
I recorded this to show how I do it

@derberg ok, thanks for research. I do the same but have the bug. It is no critical.
@derberg this still don't work for me
@GordeevArt you mean you tried https://github.com/kimmobrunfeldt/chokidar-cli indepedently from the generator and it was also detecting changes in ignored paths?
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions :heart:
@GordeevArt hey man, is it still valid?
Yes, but I don't use it now.