Open core-ai-bot opened 3 years ago
Comment by njx Monday Jan 13, 2014 at 19:22 GMT
Marking move to backlog, since we don't support launching/connecting to a browser on a different machine.@
hyingreborn, could you describe in more detail why you'd want to do this? Is it that you're doing development on one platform and want to preview how the file looks on a different platform?
Comment by hyingreborn Tuesday Jan 14, 2014 at 03:05 GMT
In most cases, I have developed web on the mac, and then check the compatibility ie use on another PC; Sometimes, I also hope that my colleagues in real-time preview to my work
Comment by jonthesquirrel Thursday Jan 23, 2014 at 21:35 GMT
@
hyingreborn While the live preview is nice for designing layout/style changes, I find it is usually much more practical, especially when working with Javascript, to create a static local web server and just refresh the browser to see changes (I think there are extensions that do this automatically?).
That way it is possible to view the project from any browser on the local network, for example Mobile Safari on an iPad, rather being limited to Chrome on the same machine.
Here is a quick solution I use:
cd /path/to/project
python -m SimpleHTTPServer 8000
python -m http.server 8000
Comment by ciberado Tuesday May 20, 2014 at 13:03 GMT
Actually I would find it very handy in order to be able to just click the "send to phone" button in my desktop chrome and perform a quick check of the current status of the page in the mobile device.
Comment by krevativ Tuesday Jun 10, 2014 at 10:54 GMT
+1 it should be enough simply to change the ip from 127.0.0.1 to 0.0.0.0
Comment by jasonflaherty Friday Apr 10, 2015 at 06:57 GMT
I would be very interested in the "send to phone" functionality! :) I have tested visiting the 127.0.0.1 over my local network on my other devices without success...
Comment by nethip Monday Jul 06, 2015 at 05:57 GMT
@
hibiyasleep@
jasonflaherty@
krevativ@
ciberado@
hyingreborn With our CC 2015 release, we have introduced a new cloud based service that allows precise preview of webpages on different mobile devices. This currently can be used from within Dreamweaver and Photoshop CC 2015. Please check out this video.
Does it make sense to have this service inside Brackets? By the way I have created a trello card to have this service integrated with Brackets.
Please upvote this trello card which will help us in prioritization. Thanks!
Comment by tonygon Thursday May 26, 2016 at 15:32 GMT
If you have ssh available you can just forward the ports to which Brackets outputs the live preview.
The issue is that the page won't reload automatically as the local live preview.
Hope that helps!
Comment by ciberado Monday May 30, 2016 at 08:15 GMT
Nice trick!
El jue., 26 may. 2016 a las 17:33, tonygon (notifications@github.com) escribió:
If you have ssh available you can just forward the ports to which Brackets outputs the live preview.
- Run live preview in your localhost once, notice the port number 127.0.0.1:port_num/index.html
- Run ssh -N -L port_num:localhost:port_num (you can choose the second port, read man ssh)
- Enter your ssh password and voila. You can access 127.0.0.1:port_num/index.html in the remote computer.
The issue is that the page won't reload automatically as the local live preview.
Hope that helps!
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/adobe/brackets/issues/6424#issuecomment-221906767
Comment by NicoGrapsas Wednesday May 31, 2017 at 05:42 GMT
Hi! I've found an easy way to accomplish this functionality. I did it with sublime text because it's faster:
1 - Open in your text editor the entire Brackets folder.
2 - Search and replace 127.0.0.1
and localhost
with your local ip.
3- Add "livedev.multibrowser": true
to preferences file.
4 - Enjoy!
After that you can connect without problems. Page will reload automatically as expected. As far as i've tested it didn't show any console errors. Tested on: Windows 10 x64.
UPDATE: Page reload works on Chrome android too!
Comment by mxa Wednesday Sep 20, 2017 at 19:11 GMT
@
NicoGrapsas open the whole /opt/brackets folder in Sublime? How? There are a lot of binaries in there, no point in searching through those.
Comment by mxa Wednesday Sep 20, 2017 at 19:37 GMT
If you are on Linux you can just fire up an webserver with python3 -m http.server 8089
in the directory (you can choose the port number, need root for ports <1024
Comment by krevativ Tuesday Jun 10, 2014 at 10:54 GMT
+1 it should be enough simply to change the ip from 127.0.0.1 to 0.0.0.0
Can you briefly explain where/how exactly to change the IP from127.0.0.1 to 0.0.0.0 ? Tnx
Issue by hyingreborn Thursday Jan 09, 2014 at 07:33 GMT Originally opened as https://github.com/adobe/brackets/issues/6424
I use brackets on mac encoding, when i open the live preview, it only be viewed in the local browser, On other PC on the LAN, I access mac ip address : port number, it does not work