mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
Fix/cli (#47)
* fix(cli): watch tauri.conf.js * fix(cli): use window.external * fix(naming): purge cruft * fix(watcher): use appDir not tauriDir
This commit is contained in:
@@ -9,7 +9,7 @@ const
|
||||
log = require('./helpers/logger')('app:tauri'),
|
||||
onShutdown = require('./helpers/on-shutdown'),
|
||||
generator = require('./generator'),
|
||||
{ tauriDir } = require('./helpers/app-paths')
|
||||
{ appDir, tauriDir } = require('./helpers/app-paths')
|
||||
|
||||
class Runner {
|
||||
constructor() {
|
||||
@@ -56,7 +56,7 @@ class Runner {
|
||||
path.join(tauriDir, 'src'),
|
||||
path.join(tauriDir, 'Cargo.toml'),
|
||||
path.join(tauriDir, 'build.rs'),
|
||||
path.join(tauriDir, 'tauri.conf.js')
|
||||
path.join(appDir, 'tauri.conf.js')
|
||||
], {
|
||||
watchers: {
|
||||
chokidar: {
|
||||
|
||||
Reference in New Issue
Block a user