Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakyshane/bs-flask
Debugging repo for BrowserSync + Flask
https://github.com/shakyshane/bs-flask
Last synced: about 1 month ago
JSON representation
Debugging repo for BrowserSync + Flask
- Host: GitHub
- URL: https://github.com/shakyshane/bs-flask
- Owner: shakyShane
- Created: 2014-11-08T10:13:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-08T10:22:04.000Z (about 10 years ago)
- Last Synced: 2024-04-14T07:49:47.500Z (9 months ago)
- Language: Python
- Size: 84 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A sample project to help illustrate an issue with the Flask + BrowserSync.
#Step 1 - Install
First, ensure you are using the latest BrowserSync version
```bash
sudo npm install -g browser-sync
```#Step 2 - start Flask
* FORK this repo (so that you can send a PR showing the bug)
* run `python run.py` to start the development server#Step 3 - Proxy with BrowserSync
Take the URL that Flask gives you, usually something like `http://127.0.0.1:5000/` and
run BrowserSync in proxy mode using the following command```bash
browser-sync start --proxy http://127.0.0.1:5000/ --files="app/templates/**, app/static/**"
```
You should now see that css changes are auto-injected & html files reloaded on file change.
#Step 4 - reproduce your bug.
Go ahead and do anything to this sample that will clearly demonstrate the bug and push it
back up to github. Then BrowserSync authors can simply clone your fork and work to resolve the bug.