Skip to content

server启动后html一改动就异常 #16

@wzsxyz

Description

@wzsxyz

如题,没法玩
"output": [
"./app//."
],

html文件在app目录下,server启动后,只要html有改动,立即异常:
changed: app\test1.html
path.js:200
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at f (path.js:200:13)
at Object.filter (native)
at win32.join (path.js:205:38)
at copyFile (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webpa
ck\lib\SPMPlugins.js:110:16)
at copyFiles (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webp
ack\lib\SPMPlugins.js:99:5)
at copy (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webpack\l
ib\SPMPlugins.js:43:7)
at EventEmitter. (C:\Program Files\nodejs\node_modules\spm\node_m
odules\spm-webpack\lib\SPMPlugins.js:37:11)
at EventEmitter.emit (events.js:110:17)
at EventEmitter. (C:\Program Files\nodejs\node_modules\spm\node_m
odules\chokidar\index.js:136:15)
at EventEmitter.FSWatcher._emit (C:\Program Files\nodejs\node_modules\spm\no
de_modules\chokidar\index.js:152:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions