bmustiata / fast-live-reload

A live reload that works with all the possible browsers.
18 stars 5 forks source link

Support express/koa-like 'extenstions' option #10

Closed tremendus closed 5 years ago

tremendus commented 5 years ago

Both Express and KOA support an 'extensions' instantiation option, that allows extensions to be omitted, such that the /people URL will serve /people.html - makes for shorter, cleaner URLS.

I see where you instantiate the express.static() server StaticServer.js:17 but there is no way to pass this, or other options, to the express server.

Has this been considered as a feature?

bmustiata commented 5 years ago

Hi, this is intended only as either a static file server, or a proxy to some running site, injecting the reloading code, I don't plan to add this functionality. If you're willing to implement it and the tests still pass, I'm willing to merge it.

bmustiata commented 5 years ago

Closing due to no activity.