-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Issue by joelrbrandt
Monday Apr 08, 2013 at 14:44 GMT
Originally opened as adobe/brackets#3372
Live development no longer works with a user-specified base url.
83190c9c brought code into LiveDevelopment.js that calls _serverProvider.setRequestFilterPaths on any server provider. However, when the user specifies a base url, a different server provider is used (UserServerProvider, defined in LiveDevelopment.js). This provider does not have the necessary interface.
Based on a really quick read of the code, it seems to me that setRequestFilterPaths code should be specific to the StaticServerProvider. So, I'm exactly sure why this code is in LiveDevelopment.js. But I could easily be misunderstanding something.
Even if I add a no-op setRequestFilterPaths function to UserServerProvider, live development still doesn't work correctly. It never fully connects, and every time I switch files, a new tab is opened in Chrome.
cc@
gruehle since it looks like he added the setRequestFilterPaths call to LiveDevelopment.js