Closed samuelstroschein closed 1 year ago
It might be worth it to remove tsup.
I had numerous other issues with tsup before. A separation like ide-extension
and ide-extension-plugin might be an easy way to:
plugin-template
can be used, ensuring that the SDK plugin will work@inlang/sdk-js-plugin
for example. I am reluctant about the benefit of 3 though. @ivanhofer given that you started on #690, you agree on separating the inlang plugin from the vite plugin?
Yes, it makes things easier and more consistent.
But it is not the problem of this issue. So splitting it had no impact on the npm run dev
bug.
Like I already mentioned in the discord: @inlang/sdk-js
is not the issue. It just happens to be (mosten times) the last log line that get's written. Delete the dev
script from any random package.json
and npm run dev
will work again. I think turborepo
is the issue here
I can confirm that removing any dev
script resolves the issue. What an odd bug. Investigation is pending.
Problem
I can't run
npm run dev
becauseplugin:dev
is blocking turborepo from proceeding somehow. I tried:npm run-all
withconcurrently
Expected behavior
npm run dev
should start a server at localhost:3000.Steps to reproduce
npm run dev
from the root of the monorepo.Additional information (screenshots?)