browser-sync


How to quit the browser-sync server, or how to know the running server pid


do you know browser-sync have to provide any API to quit server?
I use bs.exit () just quit automatically reload.
Or have any way to know the current server PID, I can manually kill it.
thanks.
haha. I have solved it.
Put the server code into a js file, using the child_process.fork to run, you can get the child process pid

Related Links

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
How do I kill browserSync before creating it?
Unable to install browser-sync on windows 7
browser-sync proxy fails to connect
What's the equivalent bs-config.js (Browsersync) of this command?
How to quit the browser-sync server, or how to know the running server pid

Categories

HOME
assembly
jpa
design-patterns
awk
nunit
angular-formly
solaris
devise
pdfbox
bookmarks
modal-dialog
elasticsearch-5
extjs4.2
jquery-ui-sortable
vimdiff
siddhi
ycsb
renjin
google-data-studio
database-connection
google-maps-autocomplete
direct3d11
interbase
apktool
soot
memory-address
instantiation
getpixel
openerp-7
watchman
zoomify
sessionstorage
nohup
unordered-map
microsoft-metro
apollostack
knime
procfile
insight
tinkerpop
java-6
truezip
vibrate
rxtx
mapxtreme
builtins
google-cloud-console
x-tag
shopping
kiosk
cycle2
crouton-os
sciruby
lazybones
morton-number
include-guards
ember-cli-rails
iced-coffeescript
zscript
sql-server-data-tools
dot.js
mmwormhole
java-security
webmatrix-3
mruby
pseudo-class
post-commit-hook
paw
cuba
grails-plugin-rabbitmq
extjs2
qscrollarea
sphinxql
away3d
cmmi
process-explorer
time.h
node-blade
cascadingdropdown
argouml
redis-py
cakephp-1.2
wcf-configuration
objectquery
fusefabric
appjs
koken
cgimage
procedures
htdocs
maven-1
scrollbars
fail-fast-fail-early
software-lifecycle
perl5.12
entitykey
soappy

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