From 1f6c0d0f572ad99040279c4dbda082d33c61580e Mon Sep 17 00:00:00 2001 From: Artem <44553669+moetazaneta@users.noreply.github.com> Date: Wed, 9 Nov 2022 02:43:45 +0700 Subject: [PATCH] chore: update scripts to work on windows (#42632) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update `package.json` for Windows users. 1. `concurrently` isn't working with single quotes 🤷🏻 2. `--watch` isn't actually passed, because of that `tailwind` compiles only once and exits. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- examples/with-turbopack/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-turbopack/package.json b/examples/with-turbopack/package.json index f84214f83f87..f6e2b9fe5636 100644 --- a/examples/with-turbopack/package.json +++ b/examples/with-turbopack/package.json @@ -2,7 +2,7 @@ "private": true, "scripts": { "dev": "next dev --turbo", - "dev:tailwind": "concurrently 'next dev --turbo' 'npm run tailwind --watch'", + "dev:tailwind": "concurrently \"next dev --turbo\" \"npm run tailwind -- --watch\"", "build": "next build", "start": "next start", "lint": "next lint",