porsager / wright

🚀 Work Fast Work Wright
Do What The F*ck You Want To Public License
178 stars 15 forks source link

Multiple serve directories #34

Closed spacejack closed 5 years ago

spacejack commented 6 years ago

Would be great to allow multiple serve paths when used in conjunction with a web server like express when you're serving more than one static directory. Eg in this case:

app.use('/', express.static('public'))
app.use('/foo', express.static('/some/other/path'))
porsager commented 5 years ago

@spacejack you can try out wright@next and use the -a --assets options multiple times for serving more directories...

porsager commented 5 years ago

This will be in 2.0 - If you find issue with it then, let me know ;)