sbruchmann / brackets-static-preview Goto Github PK
View Code? Open in Web Editor NEW[UNMAINTAINED] Serves a project via a static web server and opens it in the default browser
License: MIT License
[UNMAINTAINED] Serves a project via a static web server and opens it in the default browser
License: MIT License
I'm not 100% sure it is the fault of this extension, but this morning I turned on the static server, and then turned it off. I then tried to use the Ionic framework serve command with a project and it told me the address was in use. No port I tried would work. I kill Brackets and it begins working again.
I've been using this plugin for quite some time now. Since a few updates of Brackets, the plugin has a tendency to not work on startup and sometimes needs a manual refresh (F5) of Brackets.
Sometimes this plugins needs more than one manual refresh to finally start working properly.
Result:
Static Preview is serving the initial project.
Expected result:
Static Preview should serve the current project.
In order to keep things maintainable, server management logic should be refactored. This will keep things DRY when more UI is added.
I don't know why, but when I install this extension my Less AutoCompiler gives an error ("Invalid project compile settings"). Do you know if it's a common issue?
thank you for the extension,
i have a problem here with the 0.0.0.0 adress, so i have to use only the loopback, so why choosing the 'all adressed' instead of the loopback?
When you have a project that looks something like this:
root
--website
----index.html
----more websitey things
--otherstuff
--morestuff
Starting static preview on index.html will cause all links that are relative to break since the website root is not the folder 'website' but rather one up.
Being able to right-click the folder 'website' and say 'static preview here' could maybe be a solution.
Reported here,
Static Preview should have a toolbar button that allows the user to start/stop the static preview server and indicate the current state of the server.
This bug currently happens on refactor/server-management and was introduced by either 5de8242 or c10c566.
File
-> Static Preview
File
-> Static Preview
Static Preview is running.
Static Preview is not running due to EADDRINUSE
error.
How exactly am I supposed to open the website on another device? When I try it on my iPhone, with the format:
http://[ipAdress]:[port]
Both Safari and Chrome say that the connection was refused. Is there a different format that the address has to be in?
After file update (in my situation it's SVN commit/push or sass build) static server is unresponsible and can't be powered off from brackets. Only brackets reload helps.
I changed the hostname in the Static Preview Settings pane from localhost
to mycomputername.local
.
It works fine; I can access the server from other devices on my network.
The problem is this: when I restart Brackets, the Static Preview hostname is once again localhost
, as if I had never changed it.
Update: I disabled all other extensions, no difference.
(extra info: my operating system is Mac OS X Yosemite)
The UI/UX of the default template for serve-index
is more than dissatisfying and confuses new users.
For reference: adobe/brackets#8203 (comment)
Steps to reproduce:
At this stage there is no way to get back into the Static Preview unless you restart Brackets. The extension needs some way to:
An option is needed to disable Live Reload.
Hi @sbruchmann
Can you add label on your Icon ? The text of label "Start Static Preview" in multilanguage.
Hello,
Sorry, but I don't understand the difference between this static-preview plugin and the native live preview button.
Can you please explain ?
I just started the static server and when Chrome opened up, it showed the contents of the project I had been working on with Brackets before the project I'm in now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.