preview and node(worker) fixes and enhancements
- preview: file change listeners seem to be broken
- need details
- this may be for the
*.*
case(s) - see preview breaking in demo video
- not able to reproduce this now, maybe fixed? I gave up looking
-
preview: when current doc matches matcher, show it after preview command exec’ed
- rewrite worker with service worker:
- option 1: lexer (probably won’t use this)
- option 2: babel + plugin, see sw-worker-rewrite incubate
- use option 2 in service worker
- about import maps
- console.log gets rewritten as processWrite, messages the parent, ie. terminal
- rewrite imports to use importmap and / is relative to service
- use rewritten script in node abstraction
- try not to get stuck in the hole of simulating “execute” in a worker
- simulating process.exit is a pain
- just use the old way of doing it from prev node implementation
- test new implementation of node abstraction
- service worker build script
- codemirror update script (actually updates more than codemirror)
extra
- switch service without requiring refresh
- remove “Open in Preview” from tree context menu (for now)
- root files
- refactor
- root settings.json roughly matches vscode
- cleanup old service-worker files
- bug: clicking on doc loads a blank
- terminal loading spinner
- see spinner incubate
- commit
- clone
- https://stackoverflow.com/questions/2685435/cooler-ascii-spinners
- http://jsfiddle.net/sindresorhus/2eLtsbey/embedded/result/
- https://github.com/sindresorhus/cli-spinners/blob/HEAD/spinners.json
- issue with git config not updating editor state (and currently opened .git/config, etc)
- shortened git commit urls (added color)
- made an intro for release videos