Maxim Syabro

Results 26 comments of 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 :( ![image](https://user-images.githubusercontent.com/29029/28276306-359e70b6-6b1f-11e7-88f4-7054dd137c82.png)

@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'...