Skip to content

Conversation

twlite
Copy link
Member

@twlite twlite commented Oct 15, 2025

import { defineConfig, noBuildOnly } from 'commandkit/config';

// only runs outside the build process, eg: not in `commandkit build`
const setup = noBuildOnly(() => {
  setInterval(() => {
    console.log(`Hello from ${process.pid}`);
  }, 1000);
});

setup();

export default defineConfig({});

@netlify
Copy link

netlify bot commented Oct 15, 2025

Deploy Preview for commandkit ready!

Name Link
🔨 Latest commit b4362ca
🔍 Latest deploy log https://app.netlify.com/projects/commandkit/deploys/68ef99f3363f2f0008f3f064
😎 Deploy Preview https://deploy-preview-580--commandkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@twlite twlite merged commit f71363c into main Oct 15, 2025
5 of 6 checks passed
@twlite twlite deleted the build-conditional-helpers branch October 15, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant