TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: In Java JSF, why can't we edit HTML and CSS post deployment?

1 点作者 seinecle超过 3 年前
It is painful to go through a cycle of compilation + redeployment just because of a slight change in the html of the page. Is there a way we can have the non-jsf part of jsf pages as static, editable files after an app is deployed?

1 comment

sto_hristo超过 3 年前
Do you mean deployed in production or during development? If it&#x27;s during development, i have no issues editing .xhtml files (or static resources that are referenced in from jsf pages, like CSS or helper .js scripts used in the page) on the fly, from the IDE, and getting immediate feedback via browser refresh. It allows for very fast iterative development, approaching nodejs speeds. I sometimes even start with blank and broken .xhtml and build it up one bit at a time; also works with the temple&#x2F;inheritance stuff.<p>If you&#x27;re talking about a build that has been already deployed in production - i&#x27;d advise on concentrating on making better CI&#x2F;CD process than messing around with individual files in the artifact. Bump the patch and minor versions and send it down the pipeline; coffee time.
评论 #28423078 未加载