Maxim Syabro
Maxim Syabro
@ask we're investigating but I'm pretty sure directory haven't changed, because I stop server, run it with the same command and don't see the error anymore
@ask checked. Directory exists. `os.getenv('PWD')` returned current user dir `/home/app`. It exists, and process have permissions to access it. any ideas?
I've added `cd ~` to the end of my `.zsrhc` as a temporary solution.
```js /// yay str .split() .join() domain .concept('Page') .val('title', 'string') .vals('widgets', 'Widget') domain .concept('Widget') .val('title', 'string') .val('color', 'Color') .val('foo', 'Foo') .val('bar', 'Bar') domain .concept('Widget') .val('title', 'string') .val('color', 'Color') ``` ```js...
With doubleQuotes false the last one is doublequoted :( 
It's a must!
@acdlite @istarkov @wuct any news?
Upd: found https://vitejs.dev/guide/api-plugin.html#universal-hooks + `closeBuild` in https://github.com/vitejs/vite/discussions/9217 ```ts // vite.config.ts export default defineConfig({ build: { watch: { include: 'src/**' }, } ... plugins: [ { name: 'postbuild-commands', // the name...
UPD2: Used `writeBundle` hook, works :) ```ts // electron.vite.config.ts import { exec } from 'child_process' // ... export default defineConfig({ // ... preload: { plugins: [ // ... { name:...
@alex8088 I've upgraded my approach - it generates api from handlers automatically so less boilerplate ```ts // src/preload/api.ts import { ipcRenderer } from 'electron' import { ipcHandlers } from '../src-main/handlers'...