Skip to content

Question: How to configure a simple watcher to replace nodemon with turborepo #56

@adriano-tirloni

Description

@adriano-tirloni

Hi, I have transitioned a JS project with 2 apps (nextjs, fastify) and a few packages (schemas, utils, etc..) to Turborepo with pnpm in order to use the internal packages link and improve DX.

This is a very simple setup since it doesn't have a build step, and the turborepo is working with internal packages dependencies pointing to source code, NextJS dev server hot reload when a internal package changes, but fastif with nodejs doesn't andI can't figure how to include turbowatch in the middle of it all so that when a internal package that the fastify server depends on is changed, node must restart.

I have been trying the recipes with Turborepo kitchen-sink example.
Would you mind pointing me in the right direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions