Skip to content

Commit

Permalink
fix(remix-dev): Server build should not be removed in remix watch a…
Browse files Browse the repository at this point in the history
…nd `remix dev` (#5251)
izznat authored Jan 25, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent d0b1c74 commit 5034bc3
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
@@ -184,6 +184,7 @@
- ishan-me
- IshanKBG
- itsMapleLeaf
- izznatsir
- jacargentina
- jacob-ebey
- JacobParis
1 change: 0 additions & 1 deletion packages/remix-dev/devServer/liveReload.ts
Original file line number Diff line number Diff line change
@@ -12,7 +12,6 @@ const relativePath = (file: string) => path.relative(process.cwd(), file);

let clean = (config: RemixConfig) => {
fse.emptyDirSync(config.assetsBuildDirectory);
fse.rmSync(config.serverBuildPath);
};

export async function liveReload(
1 change: 0 additions & 1 deletion packages/remix-dev/devServer2.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,6 @@ let sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));

let clean = (config: RemixConfig) => {
fs.emptyDirSync(config.relativeAssetsBuildDirectory);
fs.removeSync(config.serverBuildPath);
};

let getHost = () =>

0 comments on commit 5034bc3

Please sign in to comment.