browser-sync


Setup browser-sync to serve routes from absolute directories on windows


I am trying to serve certain routes from absolute directories I have tried different things like this...
server:
{
routes:
{
"/vendor":"x:\\js\\static\\vendor",
"/assets":"/temp/assets"
}
}
but browser-sync always returns 404 for resources located in those routes.
$ curl localhost:3000/assets/test.css
Cannot GET /assets/test.css
I believe I am missing something very trivial, but can't see what.

Related Links

browser-sync failed to load
Is it possible to open for example facebook.com page in browsersync?
Connect-gzip-static doesn't pick up html in firefox
Is it safe to include localhost into your connect-src for CSP?
Quit Browser-sync from terminal
lite-serverbs-config.js: middleware and array of folders
Make BrowserSync use the real https URL
Can we use browser sync on external url
How to replace .html with forward slash in BrowserSync?
Error during instillation of browser sync
When using browser-sync,why is the browser saying cannot get, while everything seems fine
How to sync the actions performed on webpage using Browsersync?
lite-server, BrowserSync: setting other URL path than /
Gulp and Browsersync injecting CSS but causing a full reload
Browser-sync - serve “node_modules” out of “src” directory
[browser-sync]browser-sync proxy can't connect to Rails Application

Categories

HOME
service-worker
notepad++
scikit-learn
paraview
checkstyle
phpmyadmin
rsa
nuget
google-cloud-functions
database-normalization
vxml
python-multithreading
google-cloud-datalab
crystal-lang
odoo-8
opengl-3
lanczos
spin
categorical-data
vimdiff
endeca
watson-conversation
filechannel
powershell-v5.0
intershop
wolframalpha
nodemcu
joptionpane
aggregation
interpreter
angular-translate
failover
scrollview
autodesk-designautomation
apiary.io
latitude-longitude
magento-1.9.2.4
openproject
google-knowledge-graph
openalpr
filesystemwatcher
verifiable-c
branching-and-merging
knime
monkey-testing
getchar
dynamic-linq
proget
identification
reindex
spring-data-couchbase
jqchart
er-diagram
libjpeg
flac
django-1.10
materialized-path-pattern
redbeard-ios
dimension
bizagi
grass
computer-architecture
fuelcms
opserver
.bash-profile
canalyzer
jdk1.7
haskell-warp
dronekit-android
branch-and-bound
typeconverter
xmltype
teaspoon
rickshaw
jama
terminate
fpdi
dsym
embedded-fonts
kendo-dataviz
composite-component
onload-event
virtual-pc
twisted.web
monotouch.dialog
cakephp-1.2
garbage
boost-signals
promotion-code
uipagecontrol
socketserver
updatesourcetrigger
office-2007
sifr
spread
purepdf
wordprocessingml
cldc
asynchronous-wcf-call

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App