Skip to content

Commit

Permalink
dont import servbot until necessary to not break CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfiol committed Oct 11, 2023
1 parent 744753b commit 02fcaec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.js
@@ -1,5 +1,4 @@
import esbuild from 'esbuild';
import servbot from 'servbot';
import env from 'env-smart';
import { resolve } from 'node:path';

Expand Down Expand Up @@ -49,6 +48,8 @@ const esbuildConfig = {
const ctx = await esbuild.context(esbuildConfig);

if (DEV) {
const servbot = await import('servbot');

server = servbot({
root: 'dist',
reload: true,
Expand Down

0 comments on commit 02fcaec

Please sign in to comment.