fix(js-cli) check if devPath is an URL

This commit is contained in:
Lucas 2019-12-01 13:53:18 -03:00
parent c4ff10d2b1
commit c8de099a59
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "tauri",
"version": "0.1.1",
"version": "0.1.2",
"description": "Multi-binding collection of libraries and templates for building Tauri apps",
"bin": {
"tauri": "./bin/tauri.js"

View File

@ -42,7 +42,7 @@ class Runner {
this.devPath = devPath
const args = ['--path', path.resolve(appDir, devPath)]
const args = ['--path', devPath.startsWith('http') ? devPath : path.resolve(appDir, devPath)]
const features = ['dev']
const startDevTauri = () => {