0

I'm using koa-static-folder, but apparently it doesn't provide access to files added after the server starts without the need to restart the actual server. Are there any middleware or libraries that do?

1 Answers1

0

As it says in the description of koa-static-folder

changes made in the underlying folders require a restart of your app

You can use nodemon to restart your when files change.

Patrick
  • 13,872
  • 5
  • 35
  • 53