v3.1.1
error: uncaughtException: ENOENT: no such file or directory, readFile 'C:\Users\User\Documents\GitHub\mb-test\docs/dist/js/vueCommonAppFactory.min.js' date=Fri Apr 08 2022 18:57:08 GMT+0800 (Singapore Standard Time), pid=10640, uid=null, gid=null, cwd=C:\Users\User\Documents\GitHub\mb-test, execPath=C:\Program Files\nodejs\node.exe, version=v14.15.1, argv=[C:\Program Files\nodejs\node.exe, C:\Users\User\AppData\Roaming\npm\node_modules\markbind-cli\index.js, serve, docs, -d], rss=202358784, heapTotal=168906752, heapUsed=142861080, external=3364121, arrayBuffers=677516,
loadavg=[0, 0, 0], uptime=2064950
MemoryFileSystemError: ENOENT: no such file or directory, readFile 'C:\Users\User\Documents\GitHub\mb-test\docs/dist/js/vueCommonAppFactory.min.js'
at MemoryFileSystem.readFileSync (C:\Users\User\Documents\GitHub\markbind\node_modules\memory-fs\lib\MemoryFileSystem.js:105:11)
at Watching.handler (C:\Users\User\Documents\GitHub\markbind\packages\core-web\webpack.dev.js:90:20)
at C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Watching.js:99:9
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\User\Documents\GitHub\markbind\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\User\Documents\GitHub\markbind\node_modules\tapable\lib\Hook.js:154:20)
at Watching._done (C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Watching.js:98:28)
at C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Watching.js:73:19
at Compiler.emitRecords (C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Compiler.js:499:39)
at C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Watching.js:54:20
at C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Compiler.js:485:14
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\User\Documents\GitHub\markbind\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\User\Documents\GitHub\markbind\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\User\Documents\GitHub\markbind\node_modules\webpack\lib\Compiler.js:482:27
at C:\Users\User\Documents\GitHub\markbind\node_modules\neo-async\async.js:2818:7
at done (C:\Users\User\Documents\GitHub\markbind\node_modules\neo-async\async.js:3522:9)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\User\Documents\GitHub\markbind\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
Is there an existing issue for this?
Any related issues?
No response
Tell us about your environment
Windows 10
MarkBind version
Master branch
What did you do? Describe the bug
While working on the e2e test cases, I needed to run
markbind serve test/e2e/test_site. After adding a-dto ensure latest changes are reflected, the site failed to serve at all.Steps to reproduce
markbind init tempto create a site in./tempmarkbind serve -dworks to serve the outer MarkBind sitemarkbind serve temp -ddoes notExpected behavior
The site to serve as per normal
Actual behavior
Anything else?
No response