Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Allow selecting task id in topbar
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-skriabin committed Nov 8, 2021
1 parent b3b2c69 commit fad0915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ const config = require("./webpack.config-builder")({
withDevServer: true,
});

const port = 3000;

config.entry.main.unshift(
`webpack-dev-server/client?http://localhost:${port}/`,
`webpack-dev-server/client?http://localhost:${config.devServer.port}/`,
`webpack/hot/dev-server`,
);

const compiler = webpack(config);
const server = new WebpackDevServer(compiler, config.devServer);
const server = new WebpackDevServer(config.devServer, compiler);

server.listen(port, "localhost", () => {
console.log(`dev server listening on port ${port}`);
server.startCallback(() => {
console.log(`dev server listening on port ${config.devServer.port}`);
});
2 changes: 2 additions & 0 deletions src/components/TopBar/CurrentTask.styl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
grid-area id
color black
font-size 14px
user-select text

&::before
content '#'
Expand All @@ -24,6 +25,7 @@
grid-area counter
color rgba(0, 0, 0, 0.4)
font-size 11px
user-select none

&__history-controls
display flex
Expand Down

0 comments on commit fad0915

Please sign in to comment.