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
design-patterns
ggplot2
dns
github-for-windows
redux-form
datastore
cublas
nested-if
echo
computer-science
google-chrome-app
gson
java.util.logging
qsqlquery
scsi
package.json
firefox-addon
shortest-path
ag
comparator
onload
flooding
outliers
8051
tpm
openmdao
user-defined-functions
failover
vex
custom-controls
sammy.js
pop3
lint
password-protection
linq-to-objects
demo
apache-stanbol
android-softkeyboard
microsoft-metro
oracle-service-bus
drupal-theming
oim
xbmc
datamaps
x-ray
posixct
google-cse
sundials
oozie-coordinator
offline.js
vibrate
donations
atlas
rspec2
android-dateutils
firebase-security
yajsw
ellucian-scribe
qbxml
highland.js
directdraw
qt5.2
dronekit-android
branch-and-bound
bufferedinputstream
uvc
cryptographichashfunction
with-statement
template-deduction
decoupling
square-bracket
scriptaculous
gd-graph
solace-mq
mysql-error-1044
kendo-dataviz
jquery-1.9
mysql-error-2013
virtual-pc
wimax
joomla3.1
panda3d
nokia-s40
agility.js
relative
denied
winmain
http-daemon
cruisecontrol.rb
non-clustered-index
object-database
aspmenu
nstokenfield
qtabbar
windows-identity
escrow
xpsdocument

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