Coder Social home page Coder Social logo

brackets-static-preview's People

Contributors

bruchmann avatar sbruchmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brackets-static-preview's Issues

Conflict with other servers?

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.

Starting static preview without refreshing Brackets is not certain

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.

Refactor server management logic

In order to keep things maintainable, server management logic should be refactored. This will keep things DRY when more UI is added.

Tasks

  • Create server/ServerManager.js (83c94a7)
  • Refactor node/domain.js
    • Move node/domain.js to server/ServerDomain.js (4d78feb)
    • Split domain and server into two modules (c10c566)
  • Refactor shared-properties.json
  • Improve state management (5de8242)
    • Implement state change event (7fd965d)
  • Clean up main.js
    • Move configuration of ServerManager.launchServer to itself (f61cca8)
    • Toggle menu item on ServerManager's stateChange event (a573a86)

Problem with Less AutoCompile

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?

127.0.0.1 instead of 0.0.0.0 ?

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?

Pick the starting folder

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.

Implement toolbar button

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.

Windows 7 doesn’t resolve hostname `0.0.0.0`

hi there, all i get is the webpage is not available when i fire up static preview.... tried changing the default port and ip, but not working either. i'm sure it's something to do on my end. but i haven't been able to figure out. the machine is running on win7 64bit.

image

Stop working.

Stopped working unexpectedly. As you can see the settings were not changed and even though windows 7 x64, it does not have address 0.0.0.0 to solve. Proxy can be? I can not explain what can be released and he was in the windows Firewall for me (I am Admin workstation).
dontwork

Opening on other device not working

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?

Static Preview Settings forgets custom hostname when Brackets reloads

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)

Needs a way to restart or stop server

Steps to reproduce:

  • Start the Static Preview (opens a new browser window)
  • Close the Browser window
  • Note that the Static Preview icon is still lit up
  • Clicking on the Static Preview icon again does nothing

At this stage there is no way to get back into the Static Preview unless you restart Brackets. The extension needs some way to:

  1. Detect if the browser was closed (ideally)
  2. Add an option to manually stop (and restart) the current server

Tasks for 2.0.0

  • Migrate to Connect
  • Refactor settings management
  • Refactor settings dialog
  • Add UI for server errors (EACCESS, EINUSE, etc.)
  • Preview Panel

static-preview Vs live-preview

Hello,

Sorry, but I don't understand the difference between this static-preview plugin and the native live preview button.

Can you please explain ?

Uses previous project

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.