]
Alexey Kazakov commented on JBIDE-17944:
----------------------------------------
ionic projects yes, they are for CodovaSim, right. But in general for plain HTML projects
it could be useful.
Ionic (cordova) examples:
BrowserSim: Use http: protocol instead of file: for accessing local
files
-------------------------------------------------------------------------
Key: JBIDE-17944
URL:
https://issues.jboss.org/browse/JBIDE-17944
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: browsersim
Reporter: Alexey Kazakov
Assignee: Konstantin Marmalyukov
Currently, BrowserSim works through file: protocol but this protocol doesn't work
well with paths relative to the webroot (which start with "/").
So if a local file contains any links to local resources (css, js, ...) via relative
paths then these resources are not available in BrowserSim.
For example all official ionic example projects use such paths. It makes "open with
BrowserSim" feature useless for those projects.
It would be great if BrowserSim uses http: as our HTML5 preview does.