WIP desktop serve hot reload
This commit is contained in:
1 parent
9d53b2b6d2
commit
0c5025ffa0
13 files changed
+865
-515
No files matched your search
@@ -244,7 +244,7 @@ pub fn build(config: &CrateConfig, quiet: bool) -> Result<BuildResult> {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<()> {
|
||||
pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<BuildResult> {
|
||||
log::info!("🚅 Running build [Desktop] command...");
|
||||
|
||||
let ignore_files = build_assets(config)?;
|
||||
@@ -365,7 +365,10 @@ pub fn build_desktop(config: &CrateConfig, _is_serve: bool) -> Result<()> {
|
||||
);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
Ok(BuildResult {
|
||||
warnings: vec![],
|
||||
elapsed_time: 0,
|
||||
})
|
||||
}
|
||||
|
||||
fn prettier_build(cmd: subprocess::Exec) -> anyhow::Result<Vec<Diagnostic>> {
|
||||
|
||||
Reference in new issue
Block a user