browser-sync


When using browser-sync,why is the browser saying cannot get, while everything seems fine


This is the screenshot of cmd:
I wrote
browser-sync start --server --files "app\index.html"
Looking at your screenshot it appears that your project directory is situated in the Desktop folder and is structured as follows:
confusion
│
└───app
│
└───index.html
In which case you could try instructing Browsersync to start a server from the app directory. If you cd to your folder named confusion then run:
browser-sync start --server "app" --files "app/index.html"
Note the addition of "app" after the --server flag.

Related Links

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
Browserstack not serving index.html by default

Categories

HOME
facebook-oauth
turing-machines
angular-formly
zend-framework
can
javacc
rds
regular-language
crystal-reports-2013
frontend
recordrtc
discrete-mathematics
computer-science
mel
docx
standards
intershop
jmp
swagger-2.0
asp.net-core-webapi
spring-async
jquery-ias
qliksense
perlbrew
ckfinder
mat
fractions
linked-data
angular-translate
android-things
winexe
comparable
user-defined-functions
twiml
custom-controls
gojs
sharding
reverse
browser-extension
numpy-broadcasting
searchkit
alphabetical
sessionstorage
claims
placeholder
flask-restful
getchar
builder
term
trojan
page-replacement
modelsim
java-6
css-transforms
seq
monkey
offline.js
gameplay-kit
taocp
cubism.js
flex-monkey
winusb
webjars
dimension
udpclient
cfchart
kango-framework
false-sharing
realsense
ess
morton-number
sony-lifelog-api
lasso
nsurlsessiondatatask
uncaught-typeerror
ssis-data-flow
easyrtc
rmysql
insight.database
xml-dsig
grails-plugin-rabbitmq
decoupling
openargs
gtm-oauth2
embedded-fonts
scmmanager
http-status-code-410
dopostback
window-decoration
google-maps-mobile
procedures
android-holo-everywhere
event-receiver
svk
uideviceorientation
eclipse-marketplace
sifr
flvplayback
information-management
xslcompiledtransform
change-management
commercial-application

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