New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: afterBuild is not running when rebuild with watch option #5704
Comments
When in watch mode, the dts build sub task is implemented by running You can do something in |
+1 |
rebuild has other hooks which not be written in docs, you can use code logic is as below: modern.js/packages/solutions/module-tools/src/hooks/build.ts Lines 36 to 39 in 7ed2fbc
|
Version
Details
Begin with the modern npm package development guide and try to add a plugin to run a task after build everytime, but just trigger the plugin first time built
pnpm run build --watch
Reproduce link
none, just every clean default code
Reproduce Steps
expect run everytime when i change the src/index.ts code like hello world 2
The text was updated successfully, but these errors were encountered: