Skip to content
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] watch模式无法生成带/路径的entry #1749

Closed
godcong opened this issue Jan 9, 2025 · 1 comment · Fixed by #1755
Closed

[BUG] watch模式无法生成带/路径的entry #1749

godcong opened this issue Jan 9, 2025 · 1 comment · Fixed by #1755
Labels
bug Something isn't working

Comments

@godcong
Copy link

godcong commented Jan 9, 2025

使用config.entry作为例子

mako\e2e\fixtures\config.entry

=> 脚本

  "scripts": {
    "build": "mako build",
    "dev": "mako build --watch",
    "test": "echo \"Error: no test specified\" && exit 1"
  },

运行:mako build --watch会返回异常:

Building with mako for development...
● Mako ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ (85%) runtime plugins runtime plugins                                                                                                                                                                                                                                                [Error: 系统找不到指定的路径。 (os error 3)] { code: 'GenericFailure' }

使用:mako build能正确生成并输出

@sorrycc sorrycc added the bug Something isn't working label Jan 14, 2025
@sorrycc
Copy link
Member

sorrycc commented Jan 14, 2025

How to reproduce:

cargo run --bin mako ./e2e/fixtures/config.entry --mode development --watch

unexpected log

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s
     Running `target/debug/mako ./e2e/fixtures/config.entry --mode development --watch`
Building with mako for development...
● Mako ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ (90%) generate chunk files after generate chunk files                                                                                            No such file or directory (os error 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants