Karl Morrison

Results 64 comments of Karl Morrison

Hack for static files: ``` const fs = require('fs'); const express = require('express'); const app = express(); const port = 4000; process.send({ event: 'online' }); app.use('/static', express.static(__dirname + '/client')); app.get('/',...

I'm getting the same issue: ``` [browser-refresh] File has been changed: .git/index.lock [browser-refresh] Restarting app... [browser-refresh] File has been changed: .git/index [browser-refresh] App started (pid: 26187) ```

@mnooblet Hmm this does not seem to work anymore with version 1.7.3

Also when I update the marko file again the following happens: ``` [browser-refresh] File has been changed: application/frontend/components/smart/counter/counter.marko [browser-refresh] Special reload: /application/frontend/components/smart/counter/counter.marko [lasso] File modified: /Users/km/dev/pcap-reader/web/application/frontend/components/smart/counter/counter.marko [lasso/browser-refresh] File modified: /Users/km/dev/pcap-reader/web/application/frontend/components/smart/counter/counter.marko...

Ok I've noticed now that browser-refresh has no checking to see how many browser-refresh websocket connections there are to the browser (which is bad imo). So it resulted in 4...

https://github.com/harthur/clusterfck/pull/8 Is currently underway via a pull request.

Current package.json: { "name": "web", "version": "0.1.0", "private": true, "engines": { "node": ">=16.0.0 =8.0.0 =2" from @vue/[email protected] npm ERR! node_modules/@vue/cli-plugin-typescript npm ERR! dev @vue/cli-plugin-typescript@"~4.5.0" from the root project npm ERR!...

Interested party here also for request/response pattern!

@fmvilas Any draft available for a sneak peek?