MCPcopy Create free account
hub / github.com/VemtoOrg/vemto2 / copy

Function copy

scripts/dev-server.js:94–100  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

92tsc does not copy static files, so copy them over manually for dev server.
93*/
94function copy(path) {
95 FileSystem.cpSync(
96 Path.join(__dirname, "..", "src", "main", path),
97 Path.join(__dirname, "..", "build", "src", "main", path),
98 { recursive: true }
99 )
100}
101
102function stop() {
103 viteServer.close()

Callers 3

copyStaticFilesFunction · 0.70
startFunction · 0.70
compile.phpFile · 0.50

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected