fex-team / fis-command-server Goto Github PK
View Code? Open in Web Editor NEWfis server command.
License: MIT License
fis server command.
License: MIT License
fis 纯前端解决方案,基本上不上 java 和 php 服务器,是否应该简化一把,把 php 和 java 挪到对应的解决方案去?
fis3 server clean --exclude='index.php'
/usr/local/lib/node_modules/fis3/node_modules/fis-command-server/server.js:46
return new RegExp('^'+ prefix + '(' + group.join('|') + ')$', 'i');
^
SyntaxError: Invalid regular expression: /^(?:/Users/kaiye/.fis3-tmp/www((?:(?:(?!(?:/|^).).)?/(?=.)index.php[^/]?[^/]*?)$/: Unterminated group
at new RegExp (native)
at glob (/usr/local/lib/node_modules/fis3/node_modules/fis-command-server/server.js:46:16)
at Command. (/usr/local/lib/node_modules/fis3/node_modules/fis-command-server/server.js:166:53)
at Command. (/usr/local/lib/node_modules/fis3/node_modules/commander/index.js:256:8)
at Command.emit (events.js:110:17)
at Command.parseArgs (/usr/local/lib/node_modules/fis3/node_modules/commander/index.js:479:12)
at Command.parse (/usr/local/lib/node_modules/fis3/node_modules/commander/index.js:377:21)
at Object.cli.run (/usr/local/lib/node_modules/fis3/lib/cli.js:243:17)
at Liftoff. (/usr/local/lib/node_modules/fis3/bin/fis.js:31:11)
at Liftoff. (/usr/local/lib/node_modules/fis3/node_modules/liftoff/index.js:185:12)
fis-command-server/lib/node.js
这个文件的第45行后面加个 callback(); 吧~~
see Update: start server to use ipv4 by default #12
Awesome ! qr code is now available from command line when start fis server. But there is still one stutation, for example, if a url is not ending with 'index.html' but 'xxx/yy/test.html', (http://192.168.1.100:8080/xxx/yy/test.html) , the qrcode in command line seems powerless. I still perfer to open ip not 127.0.0.1, or would you give some insights why not use ip by default?
Or is it possible to regenerate qr code when the url changes?
可否使用php -S
的方式启动?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.