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

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
Browserstack not serving index.html by default
whatever i do i can't access the external URL for the site or UI

Categories

HOME
service-worker
algorithm
beautifulsoup
grok
phpword
facebook-oauth
fuelux
time-complexity
alexa-skills-kit
apache-spark-mllib
solver
error-handling
gradient
bitbucket-api
seo
cakephp-3.4
pyqt4
missing-data
nfs
recordrtc
sendgrid-api-v3
drop-down-menu
vimdiff
naivebayes
favicon
gkturnbasedmatch
eip
magnetic-cards
bitnami
powershell-v5.0
vuejs
sar
blade
pagespeed
flask-sqlalchemy
dapper-extensions
moses
bioinformatics
calculation
constexpr
cart
quickfixj
glib
jett
biztalk-rule-engine
dynamic-jasper
browser-extension
swagger-php
nohup
odroid
tasm
plaintext
linqpad
drupal-theming
apache-directory
uiimage
term
convex-optimization
trojan
custom-font
spring-data-couchbase
colorbar
sundials
oozie-coordinator
java-websocket
trigger.io
pybrain
smartfoxserver
chromium-os
angular2-testing
dotnetnuke-7
uicolor
drawstring
dimension
nullable
httpruntime.cache
directdraw
sciruby
r-package
vigenere
slash
telepat
zend-currency
webmatrix-3
beatsmusic
angular-gettext
jbake
ssis-data-flow
webfinger
dot42
mutual-authentication
git-repo
syndicationfeed
ie8-compatibility-mode
windows-phone-8-sdk
gpars
dolby-audio-api
joomla-template
stacky
preload
argouml
resource-management
robotlegs
oracle-enterprise-linux
azman
luabind
role
filemerge
catransform3d
massive
appledoc
ruby-1.8
echo3
sifr3
fault-tolerance
dsoframer

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