diff --git a/apps/remix/remix.config.js b/apps/remix/remix.config.js index 9c201d7..62bc6f8 100644 --- a/apps/remix/remix.config.js +++ b/apps/remix/remix.config.js @@ -2,8 +2,7 @@ export default { ignoredRouteFiles: ['**/.*'], - // Bundle UI lib, so that it's not necessary to include build step within the lib itself. - // serverDependenciesToBundle: ['@repo/ui'], - // Restart server when UI lib changes - // watchPaths: ['../../libs/ui/**/*'], + // Restart server when UI lib changes as described in this discussion: + // https://github.com/remix-run/remix/pull/3188 + watchPaths: ['../../libs/ui/**/*'], } diff --git a/libs/ui/src/components/button.tsx b/libs/ui/src/components/button.tsx index 88b77b5..1117dcc 100644 --- a/libs/ui/src/components/button.tsx +++ b/libs/ui/src/components/button.tsx @@ -7,7 +7,7 @@ export const Button = ({ children, ...props }: ButtonProps) => { return (