Hello! I got curious situation with debugging my Angular code on page through BrowserSync on iPhone. BrowserSync is connecting successfully to my device, scrolling is fully synchronized on both computer/ iPhone but on the iPhone there is only empty page. I've checked markup and it seems that all styles and *.js files are loaded, but there is empty ui-view :-(
I got working browser-sync-spa middleware (without it is the same) and configured my proxy (there is running backend on localhost:80) as:
var proxyMiddleware = require('http-proxy-middleware');
var proxy = proxyMiddleware('/api', {target: 'localhost:8080/api'});
browserSync({
open: true,
port: 8080,
server: {
baseDir: "./",
middleware: [proxy]
}
});
Does anybody solved iPhone debugging problem?
Regards!