Comments (8)
I am currently working on this. I expect something later today.. maybe tomorrow if things go sideways.
from p5-app-duckpan.
Fixed! Thanks to #196
from p5-app-duckpan.
@moollaza Can we modify this at all not to reload on js or css files? (?i)(js|css)$
https://github.com/duckduckgo/p5-app-duckpan/blob/master/lib/App/DuckPAN/Restart.pm#L95
No need to reload the server for js or css changes? Unless a flush of cache is required?
from p5-app-duckpan.
@MrChrisW that sounds like a good idea, the CSS/JS gets pulled on refresh, so it might be overkill to restart the process for those.
@zachthompson any thoughts?
from p5-app-duckpan.
@moollaza @MrChrisW That would probably be fine. Most files in share don't require a reload, except for the *.txt files.
from p5-app-duckpan.
@MrChrisW care to submit a PR? or make an issue?
from p5-app-duckpan.
@moollaza @MrChrisW See if #218 does what you expect. There are more than .txt files in /share/ that might require a reload, e.g. .yml. So it just skips js, css, and handlebars files.
from p5-app-duckpan.
Fixed in #218
from p5-app-duckpan.
Related Issues (20)
- Incorrect detection of Instant Answer files
- Cheat Sheets not displaying on DuckPAN Server HOT 2
- Cannot install DuckPAN: Failed to install dep Class-Accessor-Classy HOT 4
- DuckPAN should warn about, or not follow redirects for API calls (to mimic our NGINX)
- Replace use of File::ShareDir::ProjectDistDir HOT 1
- Usage of Moose HOT 4
- Move templates into DuckPAN HOT 1
- Allow updating metadata through DuckPAN HOT 4
- Mimic caching on query and server
- Underscores in new cheat sheets HOT 2
- Cheat sheet template wizard should use hyphens HOT 1
- IA wizard error message should say what characters are valid
- Installing DuckPAN fails at DDG-1006 (OSX perl v5.24.0) HOT 4
- Fathead support: Non-matching queries return last match HOT 2
- Add Related Topics to FatHead server
- "duckpan new --template cheatsheet" should use dashes for filename, not underscores HOT 3
- Add support for FatHead Categories
- IA's are untestable until PR is made HOT 9
- problem first time running duckpan server on fathead on Codio HOT 3
- Test a new goodie HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p5-app-duckpan.