adobe/brackets

Live Preview: Error Due to Syntax Error

开放

#14,781 创建于 2019年5月3日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (7,495 个派生)batch import
F Live Previewhelp wanted

仓库指标

星标
 (33,061 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

A syntax error keeps happening when I edit something inside the <header> tags, but the error won't happen if I'm editing elsewhere on the page, such as in a <div> element, but will only live update properly after reloading or switching to a difference document real quick.

I'm working specifically today in the header and I don't want to continue editing the rest of my website like that in case I have to go back and change something.

It's very annoying when it doesn't work because you're not sure about whether to continue or not. The syntax error only occurs when I'm adding in reference links for CSS and JS, which I'm doing today.

Expected behavior: No syntax errors when everything is as it should be

Actual behavior: Syntax error when removing specific styles and scripts and replacing them with reference links. And I am very certain that I have remove all scripts and style tags to avoid syntax errors. So the fact that it's happening anyways, means something is wrong with Brackets.

OS: Windows 10 Version1903 build 18362.86 Brackets Version: Release 1.14 build 1.14.0-17740 (release 329d08ffc)

贡献者指南