You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the static server exists, I believe that checking for type should be done by the canServe function of the provider. The StaticProvider already checks for HTML extension, so this line of code can not be executed anyway. This is a temporary fix as a longer term re-factoring is need.
Comment by redmunds Tuesday Mar 26, 2013 at 21:03 GMT
The intent for the code being changed here is to prevent user from using Live Dev on non-HTML files, but that is apparently being prevented elsewhere, because I cannot find anything that is broken with this change.
Friday Mar 22, 2013 at 15:42 GMT
Originally opened as adobe/brackets#3218
Now that the static server exists, I believe that checking for type should be done by the
canServe
function of the provider. The StaticProvider already checks for HTML extension, so this line of code can not be executed anyway. This is a temporary fix as a longer term re-factoring is need.jrowny included the following code: https://github.com/adobe/brackets/pull/3218/commits
The text was updated successfully, but these errors were encountered: