browser-sync


browser-sync failed to load


Here is my file struc
bower_components
.tmp
node_modules
src
|index.html //running browserSync from this folder using this file as index
|client
|app
|app.module.js
Here is my bs config
browserSync.init({
notify: false,
port: PORT,
browser: "browser",
server: {
baseDir: './src/client',
routes:{
"/bower_components" : "bower_components",
"/.tmp" : ".tmp"
}
}
});
Here is my patch file
<script src="/src/client/app/app.module.js"></script>
When i run server I get a 404 "Failed to load resource" error.
the server responded with a status of 404 (Not Found)
http://localhost:9000/src/client/app/app.js
Where is my wrong . Pls help me

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
delphi-7
checkstyle
forms
jmeter
redux-form
phpmyadmin
components
apiblueprint
spring-data-mongodb
alsa
dojo
limit
bookmarks
spring-session
banner
pkcs#11
recordrtc
project
vimdiff
openpyxl
pybossa
renjin
atlassian
magnetic-cards
null-pointer
wolframalpha
nim
googlebot
visual-glitch
articulate-storyline
imagemap
pimcore
easeljs
dynamically-generated
definitelytyped
flooding
asymptotic-complexity
sqlpackage
utorrent
database-comparison
imx6
servicestack-text
openerp-7
password-protection
gdata
metawidget
mongoose-schema
setup.py
visa
datacachefactory
ssrs-2014
httr
pom.xml
textsum
openal
context-switch
git-flow
excel-dna
avx
oozie-coordinator
bootstrap-tags-input
rmongo
webjars
scaffolding
avspeechsynthesizer
cda
jaunt-api
phpgrid
highland.js
maybe
dock
toolkit
rpart
mod-proxy
haskell-warp
kubuntu
variadic-templates
crowd
verold
personalization
reflector
winginx
dsym
xmltodict
process-explorer
scmmanager
octal
cuda-gdb
role
promotion-code
cdonts
codebase
cardspace

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