Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot terminate browser-sync when started as background job. #1981

Open
me-kell opened this issue Nov 10, 2022 · 0 comments
Open

Cannot terminate browser-sync when started as background job. #1981

me-kell opened this issue Nov 10, 2022 · 0 comments

Comments

@me-kell
Copy link

me-kell commented Nov 10, 2022

Issue details

Cannot terminate browser-sync when started as background job.

Is started as foreground job there is no problem.

Steps to reproduce/test case

$ browser-sync start --server --files "*.html,*.css" &
[1] 1777

[Browsersync] Access URLs:
 -------------------------------------
       Local: http://localhost:3000
    External: http://192.168.2.20:3000
 -------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001
 -------------------------------------
[Browsersync] Serving files from: ./
[Browsersync] Watching files...


$ jobs
[1]+  Running                  browser-sync start --server --files "*.html,*.css" &

$ fg 1
browser-sync start --server --files "*.html,*.css"

Ctrl-C is not working. Nor other keys.

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [ 2.27.10 ]
  • Node [ v18.4.0 ]
  • Npm [ 8.12.1 ]

Affected platforms

  • [ x ] cygwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant