diff --git a/.vscode/launch.json b/.vscode/launch.json index 0f753ea..1c563d6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,9 +10,9 @@ "type": "extensionHost", "request": "launch", "runtimeExecutable": "${execPath}", - "args": ["--extensionDevelopmentPath=${workspaceFolder}"], - "preLaunchTask": "npm: start", - "outFiles": ["${workspaceFolder}/**/*.json"] + "args": ["--extensionDevelopmentPath=${workspaceFolder}/themes"], + "preLaunchTask": "npm: build", + "outFiles": ["${workspaceFolder}/themes/**/*.json"] } ] } diff --git a/package.json b/package.json index 5b39a9e..b5c5d4c 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "node src/index.js", "clean": "rm -rf themes", "cp:static": "cp README.md themes && cp LICENSE themes && cp CHANGELOG.md themes && cp -R static themes", - "develop:init": "(test -L $HOME/.vscode/extensions/chaseadamsio.vscode-theme-neon-night || ln -s $PWD/themes $HOME/.vscode/extensions/chaseadamsio.vscode-theme-neon-night) && yarn build", + "develop:init": "(test -L $HOME/.vscode/extensions/chaseadamsio.vscode-theme-neon-night@develop || ln -s $PWD/themes $HOME/.vscode/extensions/chaseadamsio.vscode-theme-neon-night@develop) && yarn build", "release": "release-it minor --ci", "test:check-code": "yarn test:lint && yarn test:flow", "test:flow": "flow check",